How to Build a Static-Linked Busybox

Rob Landley rob at landley.net
Wed May 10 18:39:22 UTC 2006


On Wednesday 10 May 2006 2:01 pm, raj sekahr wrote:
>  Building a Static-Linked Busybox
>
> In the busybox source directory, edit the Makefile, changing the variable
> DOSTATIC from false to true. Then run *make*. That will create a
> static-linked version of busybox. Confirm that it is static-linked by
> running this command:

Those instructions sound like they're over 5 years old, back before version 
1.00, and even back before busybox acquired menuconfig.

These days, we configure the same way the linux kernel does.  Run "make 
menuconfig", go into busybox settings, then into build options, and select 
build static binary.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list