编译 GNU binutils

重新以 arm 用户登陆,让新设置的环境变量起作用. [arm@localhost arm]#su arm

[arm@localhost arm]#cd ${SRC}

[arm@localhost tchain3.4.4]#tar xzvf binutils­2.16.tar.gz [arm@localhost tchain3.4.4]#mkdir ­p BUILD/binutils­2.16 [arm@localhost binutils­2.16]#cd BUILD/binutils­2.16

[arm@localhost binutils­2.16]# ../../binutils­2.16/configure ­­prefix=${PREFIX} ­­target=${TARGET}

­­with­sysroot=${SYSROOT} [arm@localhost binutils­2.16]#make [arm@localhost binutils­2.16]#su root [root@localhost binutils­2.16]#make install [root@localhost binutils­2.16]#exit [arm@localhost binutils­2.16]#

原文地址:https://www.cnblogs.com/fanweisheng/p/11105570.html