ubuntu1604 mounted arm-linux-gcc

 

1. In the / usr / local in New Folder arm

sudo mkdir /usr/local/arm

2. Change the folder properties arm

sudo chmod 777 /usr/local/arm

3. The installation package directory copied to the arm

cp arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2 /usr/local/arm

4. extracting installation package to the lower arm

tar -xjvf arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2

5. Add to the PATH arm-linux-gcc. Open the / etc / profile, add at the end

export PATH=/usr/local/arm/gcc-3.4.5-glibc-2.3.6/bin:$PATH

6. Refresh environment variable

source /etc/profile

7. Check the arm-linux-gcc installed correctly

arm-linux-gcc -v

 

Guess you like

Origin www.cnblogs.com/doitjust/p/11112924.html