[uClibc]compile uclibc only with static gcc

Erik Andersen andersen at codepoet.org
Fri May 3 14:53:55 UTC 2002


On Fri May 03, 2002 at 03:53:04PM +0200, Claus Rosenberger wrote:
> > 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.

Ok, sorry I am confused...  I was thinking you were trying to
compile application code using uClibc, which was why i suggested
using the uClibc wrapper.   You are trying to compile uClibc
itself.  Lets go back to the beginning, before you changed
things.  Can you show me what the error was then? 

 -Erik

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



More information about the uClibc mailing list