building toolchain i386 - ld can't find crti.o

Jul 03, 2006 0 Replies

hi!



i tried to compile a toolchain for my i386. i followed the instructions of bill gatliff

formatting link
all worked quite fine. except, i had to add the option "--disable-threads" at "6.3 building the bootstrap cross compiler" and at "6.5 building a complete cross compiler" (there was no pthread.h). i'm afraid, this was a mistake.



because at the last point (6.5), ld coud not find the file crti.o! how can I force ld to find this file?



actually, i do not need a c++ compiler. i like c programming and i think i can go without a c++ compiler. can i forget the last point?



i used these packages: binutils-2.17. gcc-4.1.1. (and the gcc-4.1.0-4.1.1.diff) newlib-1.14 target: i386-linux



please help me, thanks a lot



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required