BusyBox building with command ndk-build
Go to file
Eric Andersen ed43806c3b Hideki IWAMOTO writes:
Current `tr' implementation has a problem, if `plain char' is signed.

[current cvs version]

>echo a | _install/usr/bin/tr '\0' '\377'
Segmentation fault (core dumped)

[patched version]

>echo a | _install/usr/bin/tr '\0' '\377'
a
2004-03-12 22:10:40 +00:00
applets Vodz. last_patch_128 2004-02-22 11:13:28 +00:00
archival Fix option handling, -i or -t must be given, if both ignore the -t. 2004-02-25 09:30:06 +00:00
console-tools Patch by Tito, reduce size of deallocvt, also make the usage message 2004-01-15 11:50:19 +00:00
coreutils Hideki IWAMOTO writes: 2004-03-12 22:10:40 +00:00
debian Sync to waldi's subversion archive 2004-01-01 00:23:01 +00:00
debianutils Fix a compile error identiefied by Steven Scholz. 2004-03-03 21:12:16 +00:00
docs Prepare for release 2004-02-23 09:14:07 +00:00
editors Patch from Dmitry Zakharov, this line was missedfrom the last patch 2004-02-22 11:55:09 +00:00
examples Patch from Tito, size optimisation, cleanup noise when in debugging 2003-11-30 23:46:06 +00:00
findutils Try to make indent formatting less horrible 2003-10-31 08:19:44 +00:00
include Add prototypes for safe_strtol and friends 2004-03-12 22:08:13 +00:00
init Thomas Geulig, remove duplicate header 2004-02-22 04:17:26 +00:00
libbb In spite of the feature freeze, check in a complete rework of route which 2004-03-10 07:42:38 +00:00
libpwdgrp rename __getgrent so that it doesn't conflict with some libc's 2003-12-18 22:40:58 +00:00
loginutils David Anders (prpplague) submitted this patch to allow login to work 2004-03-09 21:27:32 +00:00
miscutils Patch from Florian Schirmer. compile fix for debug builds 2004-02-22 07:38:36 +00:00
modutils Patch from OpenWrt. 2004-02-18 10:14:17 +00:00
networking In spite of the feature freeze, check in a complete rework of route which 2004-03-10 07:42:38 +00:00
patches Patch from John Powers, adds multicast (rfc2090) and timeout (rfc2349) 2004-03-05 15:52:57 +00:00
procps Vodz last_patch120, more busybox integration, saves 330 Bytes. Tested. 2003-12-26 02:19:34 +00:00
scripts Minor updates from linux 2.6.1 2004-01-16 12:49:06 +00:00
shell Fix some goofy formatting 2004-03-12 22:08:42 +00:00
sysdeps/linux Elaborate on CONFIG_SELINUX, and explain that most people should 2004-02-05 00:18:26 +00:00
sysklogd Fix from Paul Kortekaas for syslog -C option, size should be in kB. 2004-02-22 12:17:33 +00:00
tests Fix a bug where make clean complained about having both : and :: entries. 2003-09-10 23:47:10 +00:00
testsuite Isolate code better for unused options, config option to enable long 2003-12-26 14:01:37 +00:00
util-linux Patch from Thomas Frohlich to fix an option ordering bug of mine. 2004-03-10 10:47:37 +00:00
.cvsignore Yet another major rework of the BusyBox config system, using the considerably 2002-12-05 08:41:41 +00:00
.indent.pro First revision of the Busybox Style Guide and an accompanying .indent.pro 2000-07-24 22:36:06 +00:00
AUTHORS I don't need to have my email adder listed twice 2003-10-09 21:19:21 +00:00
Changelog Prepare for release 2004-02-23 09:14:07 +00:00
INSTALL Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
LICENSE Update a bunch of docs. Run a script to update my email addr. 2003-07-14 21:21:08 +00:00
Makefile Use the PROG variable instead of 'busybox' in the release target 2003-11-17 10:26:43 +00:00
README prepare for release 2003-12-11 02:48:15 +00:00
Rules.mak Bump up version in preparation for -pre8 2004-02-22 12:27:04 +00:00
TODO Update TODO list 2003-07-22 08:55:12 +00:00

Please see the LICENSE file for details on copying and usage.
    
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in fileutils, shellutils, findutils, textutils, grep, gzip,
tar, etc. BusyBox provides a fairly complete POSIX environment for any small or
embedded system. The utilities in BusyBox generally have fewer options than
their full featured GNU cousins; however, the options that are included provide
the expected functionality and behave very much like their GNU counterparts.

BusyBox was originally written to support the Debian Rescue/Install disks, but
it also makes an excellent environment for any small or embedded system.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add /dev, /etc, and a kernel.

As of version 0.20 there is now a version number. : ) Also as of version 0.20,
BusyBox is now modularized to easily allow you to build only the components you
need, thereby reducing binary size. Run 'make config' or 'make menuconfig'
for select the functionality that you wish to enable.

After the build is complete, a busybox.links file is generated.  This is
used by 'make install' to create symlinks to the busybox binary for all
compiled in functions.  By default, 'make install' will place the symlink
forest into `pwd`/_install unless you have defined the PREFIX environment
variable (i.e., 'make PREFIX=/tmp/foo install')

If you wish to install hardlinks, rather than symlinks, you can use 
'make install-hardlinks' instead.

----------------
    
Supported architectures:

   Busybox in general will build on any architecture supported by gcc.  It has
   a few specialized features added for __sparc__ and __alpha__.  insmod
   functionality is currently limited to x86, ARM, SH3/4, powerpc, m68k, 
   MIPS, cris, and v850e.

Supported libcs:

   glibc-2.0.x, glibc-2.1.x, glibc-2.2.x, glibc-2.3.x, uClibc.  People
   are looking at newlib and diet-libc, but consider them unsupported,
   untested, or worse.  Linux-libc5 is no longer supported -- you
   should probably use uClibc instead if you want a small C library.

Supported kernels:

   Full functionality requires Linux 2.2.x or better.  A large fraction of the
   code should run on just about anything.  While the current code is fairly
   Linux specific, it should be fairly easy to port the majority of the code
   to, say, FreeBSD or Solaris, or MacOsX, or even Windows (if you are into that
   sortof thing).

----------------

Getting help:

When you find you need help, you can check out the BusyBox mailing list
archives at http://busybox.net/lists/busybox/ or even join
the mailing list if you are interested.

----------------

Bugs:

If you find bugs, please submit a detailed bug report to the busybox mailing
list at busybox@mail.busybox.net.  A well-written bug report should include a
transcript of a shell session that demonstrates the bad behavior and enables
anyone else to duplicate the bug on their own machine. The following is such 
an example:

    To: busybox@mail.busybox.net
    From: diligent@testing.linux.org
    Subject: /bin/date doesn't work

    Package: busybox
    Version: 1.00

    When I execute Busybox 'date' it produces unexpected results.
    With GNU date I get the following output:

	$ date
	Wed Mar 21 14:19:41 MST 2001

    But when I use BusyBox date I get this instead:

	$ date
	llegal instruction

    I am using Debian unstable, kernel version 2.4.19-rmk1 on an Netwinder, 
    and the latest uClibc from CVS.  Thanks for the wonderful program!

	-Diligent

Note the careful description and use of examples showing not only what BusyBox
does, but also a counter example showing what an equivalent GNU app does.  Bug
reports lacking such detail may never be fixed...  Thanks for understanding.

----------------

FTP:

Source for the latest released version, as well as daily snapshots, can always 
be downloaded from 
    http://busybox.net/downloads/

----------------

CVS:

BusyBox now has its own publicly browsable CVS tree at:
    http://busybox.net/cgi-bin/cvsweb/busybox/

Anonymous CVS access is available.  For instructions, check out:
    http://busybox.net/cvs_anon.html

For those that are actively contributing there is even CVS write access:
    http://busybox.net/cvs_write.html

----------------

Please feed suggestions, bug reports, insults, and bribes back to:
	Erik Andersen 
	<andersen@codepoet.org>
	<andersen@codepoet.org>