This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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