标签:wget uil option setting dev 执行 str busybox libc
编译busybox一、yum install gcc gcc-c++ glibc glibc-devel pcre pcre-devel openssl openssl-devel systemd-devel zlib-devel glibc-static ncurses-devel lbzip2
二、wget https://busybox.net/downloads/busybox-1.30.1.tar.bz2
三、tar xf busybox-1.30.1.tar.bz2
四、cd busybox-1.30.1/
五、make menuconfig
? 按下面选择,把busybox编译也静态二进制、不用共享库 Busybox Settings -->Build Options -->[*] Build BusyBox as a static
六、make && make install 如果出错,执行make clean后,重新执行上面命令
七、mkdir /mnt/sysroot/
八、cp -a _install/* /mnt/sysroot/
标签:wget uil option setting dev 执行 str busybox libc
原文地址:https://blog.51cto.com/14012942/2436573