Cygwin hosted Linux toolchain -- Howto test run

Øystein O Johansen OJOHANS@statoil.com
Fri Aug 13 03:04:00 GMT 1999


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



More information about the crossgcc mailing list