[uClibc]-s argument on gcc

m4 at brecis.COM m4 at brecis.COM
Wed May 8 15:06:16 UTC 2002


uClibc/extra/gcc-uClibc/Makefile
...
gcc-uClibc: gcc-uClibc.h gcc-uClibc.c
        gcc -Wall -O2 -s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc
..

The -s is a problem for powerpc.  It says to use -x, which isn't right either.
If the -s is removed, it appears to work fine.

Did you wish to send the -s to the loader?  That is -Wl,-s instead.

Darwin is a different, but similar beast.

[my boss is cross-compiling with gcc 3.0... tools based on snapshot
from January of this year.  Not too far from the supposed gcc 3.1 that
just seems to keep getting put off...]


Thanks!



More information about the uClibc mailing list