[uClibc]compile uclibc only with static gcc
Erik Andersen
andersen at codepoet.org
Fri May 3 09:45:27 UTC 2002
On Fri May 03, 2002 at 11:26:56AM +0200, Claus Rosenberger wrote:
> > yes. For a simple example, see
> > http://uclibc.org/cgi-bin/cvsweb/buildroot/
>
> thanks, nice tool. why the ldd in ldso/utils is always link against glibc
> and not against uclibc ? can i change this ? i want to use ldd in the
> embedded environment so i need an staticly linked ldd or link with uclibc.
Ahh. You want uClibc/ldso/util/ldd.target Hmm. Ok, that was a
bug in buildroot -- I was doing a 'make install_utils' but I
should have been doing a 'make install_target_utils' instead.
Oops! Fixed now.
> >
> >> features.h is in the include-subdirectory of uclibc. why make can't
> >> find it ?
> >
> > Because you did not tell gcc where to find the
> > include-subdirectory of uclibc.
>
> so i need to -I in the compilerflags ? is it enough to include this
> directory or do i need other dirs ?
Either that, or use the gcc wrapper provided by uClibc, which
does everything for you.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list