[BusyBox] Compiling busybox with newlib [PATCH]

Rob Landley rob at landley.net
Fri Mar 4 16:27:32 UTC 2005


On Friday 04 March 2005 11:51 am, Shaun Jackman wrote:

> There's very little of busybox that actually requires Linux. With few
> changes it will run well on BSD or a non-Linux embedded target. The
> most significant step is simply avoiding using include linux/* and
> asm/*, which by simple definition cannot be used on anything but
> Linux. I have to objections to Linux specific utilities that can be
> omitted from the .config file. However source files in libbb that are
> always compiled should play nice with other systems.

Modules support is linux specific.
We play with a lot of /proc stuff in places, I don't know how much of that BSD 
supports.
I thought the loop.c stuff was Linux specific.
init had a number of platform specific special case horrors in it...

This is still a minority of the system, but if you start using it more heavily 
I expect you'll run into more stuff...

Rob



More information about the busybox mailing list