PLATFORM_LINUX is evil

Rich Felker dalias at aerifal.cx
Thu Feb 24 01:34:21 UTC 2011


On Wed, Feb 23, 2011 at 10:58:09PM +0000, Mark Turner wrote:
> You wrote :
> 
> There is plenty of usefulness to Busybox that is not Linux-dependent
> and that, contrary to what you wrote, is not trivial to reimplement.
> One great example is Busybox ash, which is the only lightweight
> POSIX-compatible sh in existence that supports UTF-8 interactive line
> editing. I often wish it were available as a small portable standalone
> package that I could quickly compile and install anywhere...
> ===========================================
> 
> which indicates that you have in fact missed the point, you can in fact 
> compile busybox as a static standalone ash, simply enable only ash, compile, 
> link static and rename the binary.

After spending some time fighting with the build system and possibly
fixing nonportable assumptions in libbb.h and platform.h, etc., yes.

Rich


More information about the busybox mailing list