Jivin Johan Jacobs lays it down ...
> Hi,
>
> I am currently trying to cross-compile syslogd of Inetutels to run on my arm
> xScale platform. I try to link it to the uClibc directory but when I run it
> on my embedded platform it still depends on thelibc.so.6 library witch is
> part of glibc. Is there a way of statically linking the libraries or make it
> use the uClibc library only??? what is wrong with my ./configure command???
> ./configure --host=x86 --target=arm CC="arm-linux-gcc -mbig-endian
> -fno-common -Wall -Dlinux -D__linux__ -Dunix -DEMBED" LD="arm-linux-ld -EB
> -~/uClinux-distro-2.6/uClibc/libc/libc.so.0 -fno-common -fno-builtin"
> AR=arm-linux-as OBCOPY=arm-linux-objcopy RANLIB=arm-linux-ranlib
Depending on the version of dist that you are using you should be able
to copy a "makefile" like
user/expect/makefile
actually there are many, "vi user/*/makefile" should find nearly all the
configure based builds (and some others) in the user area. Put your
inetutils into the user dir and let the dist build it for you ;-)
In my experience, you don't want such specific LD commands in your
configure line. Better to tell the compiler to -nostdlib/-nostdinc and
then add -I and -L options to what you want it to use.
Cheers,
Davidm
--
David McCullough, [EMAIL PROTECTED], Ph:+61 734352815
Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev