文章目录
busybox下载
https://busybox.net/downloads/
[图片]
wget https://busybox.net/downloads/busybox-x.yy.z.tar.bz2
tar xvf busybox-x.yy.z.tar.bz2
busybox配置编译
busybox-1.35.0$ export CROSS_COMPILE=/home/gjw/2024/compile/arm-2014.05/bin/arm-none-linux-gnueabi-
make menuconfig
[图片]
rootfs制作
busybox
编译器问题
gcc-linaro
gcc4.8及以前 都支持–with-arch=armv7-a --with-tune=cortex-a9
https://releases.linaro.org/archive/14.04/components/toolchain/binaries/
gcc4.7及到7.5
https://releases.linaro.org/components/toolchain/binaries/
https://snapshots.linaro.org/components/toolchain/binaries/
gcc11以后
https://snapshots.linaro.org/gnu-toolchain/
gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
./gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/arm-linux-gnueabihf-gcc -vUsing built-in