[BusyBox] Compiling busybox aginst uClilbc

Richard A. Smith rsmith at bitworks.com
Tue Jan 16 22:11:32 UTC 2001


On Tue, 16 Jan 2001 14:16:07 -0700, Erik Andersen wrote:

>Then in the busybox makefile you need something like this:
>
>    LIBCDIR=/home/andersen/CVS/uClibc
>    LDFLAGS+=-nostdlib
>    LIBRARIES = -luClibc -lgcc $(LIBCDIR)/crt0.o
>    CROSS_CFLAGS+=-nostdinc -I$(LIBCDIR)/include -I$(GCCINCDIR)
>    GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp")
>

Add DOSTATIC=false to that.

Works for me now.. but how do I compile something static?

>Really?  I know I've used symlinks before...  
>What type of filesystem for root?

ext2 initrd.

Hmmmm... So I see.. I just attempted to duplicate the problem and it worked... Not sure what 
I wasn't doing before but I must have changed 2 things at once.. I got that idea from 
looking at the debian boot disks where everything is a hard link. I thought that was the 
only thing I changed. But I guess not... 

Cool thanks..


--
Richard A. Smith                         Bitworks, Inc.               
rsmith at bitworks.com               501.846.5777                        
Sr. Design Engineer        http://www.bitworks.com   







More information about the busybox mailing list