[uClibc]compile uclibc only with static gcc

Claus Rosenberger Claus.Rosenberger at rocnet.de
Fri May 3 13:53:04 UTC 2002


> Either that, or use the gcc wrapper provided by uClibc, which
> does everything for you.

i included ./include and got following error.

gcc -Wall -Os -falign-functions=1 -march=i386 -mpreferred-stack-boundary=2
-malign
-functions=0 -malign-jumps=0 -malign-loops=0 -fno-builtin -nostdinc -pipe
-nostdin
c -I../../include -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include -I.
-D_LIBC-DNDEBUG  -fPIC -D_LIBC_REENTRANT -DDL_TRACE -DUCLIBC_TARGET_PREFIX=\"/\"
-DUCLIBC
_DEVEL_PREFIX=\"/usr \" -DUCLIBC_BUILD_DIR=\"/usr/local/src/uclibc\" -I.
-I./i386
-I../libdl -c ldso.c -o ldso.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/usr/local/src/uclibc/ldso/ldso'
make[1]: *** [all] Error 2


is it possible that it is a problem to compile uclibc without any libc? i
have only gcc without libraries.


claus
>
> -Erik
>
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--






More information about the uClibc mailing list