[BusyBox] Re: newlib's libbb/printf.c [PATCH]

Shaun Jackman sjackman at gmail.com
Wed Jul 27 07:23:05 UTC 2005


On 7/27/05, Rob Landley <rob at landley.net> wrote:
> B) If newlib is lying and claiming to be glibc, yet doesn't work like glibc
> for something that we care about, why isn't it newlib that's broken?

It's not that newlib is lying, but that newlib doesn't provide the
Linux specific headers needed by busybox. To be able to compile
busybox using newlib, you need a few glibc headers for the Linux
specific features. Including any header from glibc defines __GLIBC__
though. I know using headers from two different libc is scary, but
it's the only way to make it work for now.

> C) Half this patch is whitespace noise adding spaces between the # and the
> preprocessor directive (which I personally consider a regression, and would
> have applied a patch to _undo_.  But that's just me...)

Eh? No it's not. It move nine lines totally verbatim (cut and paste)
from one place to another. Six of thoses lines are comments. Are we
looking at the same patch?

Cheers,
Shaun



More information about the busybox mailing list