Failed at -Wl,-nmagic
Pan ruochen
panruochen@gmail.com
Tue Dec 1 09:25:00 GMT 2009
Dear All,
I wanted to turn off page alignment for sections in order to reduce
the output ELF image size, but
got errors:
mips-linux-gnu-gcc -Os -mips32r2 -EL -pipe -W -c myapp.c -o myapp.o
mips-linux-gnu-gcc -Wl,--nmagic -EL -o myapp.app myapp.o
/opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld:
cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [myapp.app] Error 1
Any help for this is appreciated.
PRC
Dec 1,2009
More information about the Binutils
mailing list