其他分享
首页 > 其他分享> > 编译安装busybox

编译安装busybox

作者:互联网

yum install gcc gcc-c++ glibc glibc-devel pcre pcre-devel openssl  openssl-devel systemd-devel zlib-devel glibc-static ncurses-devel 

wget https://busybox.net/downloads/busybox-1.30.1.tar.bz2

 tar xvf busybox-1.30.1.tar.bz2

 cd busybox-1.30.1/

make menuconfig 按下面选择,把busybox编译也静态二进制、不用共享库 Busybox Settings -->Build Options -->[*] Build BusyBox as a static  binary (no shared libs) 

make && make install 如果出错,执行make clean后,重新执行上面命令 

mkdir /mnt/sysroot/ 

cp -a _install/* /mnt/sysroot/

标签:busybox,tar,make,devel,编译,1.30,安装,glibc
来源: https://blog.51cto.com/14240018/2433096