This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: crt0.o missing


Boris S Kolpackov wrote:

> I'm trying to build crosscompiler from i386-solaris2.8 to i386-linux-gnu
> using gcc-2.95.3.
> Everything compiles fine until libiberty configuration script starts. Here
> is fragment from config.log

 Which headers you used to get libgcc.a built?   You should have used those
for the 'i386-linux-gnu'...  If not, you have a problem and a rebuild of
libgcc.a
for x86/Linux....

> /export/home/platforms/i386-pc-linux-gnu/i386-pc-linux-gnu/bin/ld: cannot
> open crt1.o: No such file or directory

 You will get the Linux-libs and startups from the same place you got the Linux-
headers (if you got them)....  And need to arrange the symlinks, edit the
'libc.so'-
ld-script etc....

> I checked the place were this crt0.o file resides for native compiler and I
> saw that there is no one for cross.

 You cannot use the native x86/Solaris2 stuff for x86/Linux target...

>
> P.S. did anybody find Russian aeroplanes  ; - )?

 I found in glibc-sources, but that was a false alarm, the real problem which
I even forgot to have corrected  was that also gcc-3.0 was 'too old' for
glibc-2.2.2
configure (it approving only 'gcc-2.9*'....).  Anyway I didn't expect gcc-3.0 to
be 'too old' and was mislead by the error message about 'arm-linux-mig'
being missing. from my system...

Cheers, Kai





------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]