This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Cygwin hosted Linux toolchain -- Howto test run


Hi again!

----Řystein (that's me) wrote----
> I think there is a problem when linking programs.
>
> $ i686-pc-linux-gnu.gcc -c foo.c
>
> works fine, but
>
> $ i686-pc-linux-gnu-gcc -O2 -o foo-linux foo.c
>
> runs out of memory, in the linking process. :-(
> Please help on this issue. Does it use the right ld.exe?
> Do I have to recompile binutils? or?

Now I've found the problem! libc.so and libm.so where corrupted. I
re-extracted this this two files from the archive file
(glibc-2.0.bin.i386.tar.gz). Now everything links easily!

Thank you Mumit and Kai, and everyone else!

Regards,
Řystein (with a BIG smile!)



------
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]