This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Ewan Oughton B.Sc. Comp Sys DB / AnonFTP / Orac Root Admin SkyNet
Hi,
I compiled gcc-3.2.3 with the following configure call:
./configure --target=x86_64-pc-elf --prefix=/usr/cross --disable-nls --enable-languages=c,c++ --enable-shared --disable-multilib
--with-headers=/usr/local/x86_64-pc-elf/include/
and then do a make all-gcc && make install-gcc
I have installed the relevant binutils.
The contents of /usr/local/x86_64-pc-elf/include/ were copied over from a target machine.
I've also tried --with[out]-newlib, --disable-newlib to the same effect.
When I try and compile any C code, I get the following error:
/usr/cross/lib/gcc-lib/x86_64-pc-elf/3.2.3/../../../../x86_64-pc-elf/bin/ld: cannot open crt0.o: No such file or directory
From googling, crt0.o appears to be a startup file; other crt*.o files arepresent(crt1.o, crtbegin.o etc), but no crt0.o... there is also no crt0.o present on the target machine. Am I passing the wrong configure flags? Any ideas?
Thanks
Ewan
Ewan Oughton B.Sc. Comp Sys DB / AnonFTP / Orac Root Admin SkyNet
-- For unsubscribe information see http://sourceware.org/lists.html#faq
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |