Ok I should have been more specific... shame on me. I'd already found crt1.o (/usr/lib) and one of my many link line edits included /usr/lib as follows:
[carpenrc@localhost example]$ locate crt1.o
/usr/lib/Mcrt1.o
/usr/lib/crt1.o
/usr/lib/gcrt1.o
[carpenrc@localhost example]$ make
arm-linux-gcc -o example main.o example.o examplebase.o moc_example.o moc_examplebase.o -L/opt/Qtopia/sharp/lib -L/usr/lib -ljpeg -luuid -lqpe -lqte
/opt/Embedix/tools/arm-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [example] Error 1
[carpenrc@localhost example]$ echo $LD_LIBRARY_PATH
/lib:/usr/lib:/opt/Qtopia/sharp/lib
So it seems obvious but obviously the linker doesn't find the file.
Anything anyone can think of?
arm-linux-gcc -o example main.o example.o examplebase.o moc_example.o moc_examplebase.o -L/opt/Qtopia/sharp/lib -L/opt/Qtopia/sharp/lib
/opt/Embedix/tools/arm-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
make: *** [example] Error 1
I don't have a system handy to look, but I would expect it to be in the some /FOO/usr/lib directory where FOO might be anything, depending on how you installed the compiler.
Have you tried
# updatedb
# locate crt1.o
That might help you find the one you are looking for?!
John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98181\"][{POST_SNAPBACK}][/a][/div]