This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Failed at -Wl,-nmagic
- From: Pan ruochen <panruochen at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 1 Dec 2009 17:25:39 +0800
- Subject: Failed at -Wl,-nmagic
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