I have compiled BusyBox 1.7.0 dynamically linking it against uClibc
using SnapGear 2.0 toolchain and incorporated into the same SnapGear
distro.
If I remember correctly I had to set
CROSS_COMPILE = "arm-linux-"
UCLIBC_DIR=../../uClibc
UCFRONT="../../tools/ucfront-gcc"
CC = $(UCFRONT) $(CROSS_COMPILE)gcc
CPP = $(UCFRONT) $(CC) -E
all this is the BusyBox main directory Makefile.
Also, you might want to try to hardcode it in ucfront.c - by setting
default type for libtype structure as LIBTYPE_UCLIBC.
This should not be necessary, just setting above variables in SnapGear
Makefile worked for me.
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ron Jobmann
Sent: Monday, July 09, 2007 5:55 PM
To: [email protected]
Subject: Busybox build configuration
I was earlier having problems building Busybox 1.6.1 for my embedded
system, but got the endian problem figured out. However, now that the
executables have been built they won't run. Using readelf, I discovered
that busybox is using the host/build system glibc and not the target
Snapgear distribution's uClibc that everything else uses.
Is there some place to set this? A flag or switch or something?
______________________________________
Ron Jobmann
Porting/Integration/Build Engineer
Asentria Corporation
1200 N. 96TH ST
Seattle, WA 98103-3310
http://www.asentria.com <http://www.asentria.com>
(206) 344-8800 ex: 120 / Fax: (206) 344-2116
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive information for the
intended recipient), please contact the sender by reply e-mail and delete all
copies of this message.
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox