get_header_tar.c: makedev [PATCH]
Shaun Jackman
sjackman at gmail.com
Thu Oct 6 21:55:06 UTC 2005
2005/10/6, Rob Landley <rob at landley.net>:
> Applied, but question:
Thanks!
> What's the set of patches needed to consider newlib as supported as it's going
> to get, and what's the subset of applets that actually work on newlib?
Getting closer and closer. I'm working on getting a patch to implement
dprintf accepted in newlib. There's only a couple more small patches
for busybox to be able to be able to build a working binary, albeit
with a subset of applets. I've tested very few of these applets to see
if they actually work though. So far...
$ grep -c =y .config
110
> As soon as I get 1.02 out the door, I'm going to start pushing to get 1.1 out
> the door, and I'm trying to figure out what degree of support we can claim
> for newlib. Possibly there should be a file in the docs directory about
> newlib. (I _know_ there should be one about glibc. The darn libnss
> stuff...)
Busybox should include an example newlib.config the enables every
applet that currently works with newlib. A brief document that also
explains how to build busybox against newlib would also be useful. In
my set up, I simply modified Rules.mak like so:
LDFLAGS+=-nostdlib /usr/lib/newlib/crt0.o
LIBRARIES:=-L/usr/lib/newlib -lc -lgcc
CROSS_CFLAGS+=-I/usr/include/newlib
GCCINCDIR:=$(shell gcc -print-search-dirs | sed -ne "s/install:
\(.*\)/\1include/gp")
Cheers,
Shaun
More information about the busybox
mailing list