Ubuntu install Arm compilation tool chain (arm-linux-gcc-4.3.2)

------------ Recovery content started ------------

1. After decompressing arm-linux-gcc-4.3.2.tar.bz2, copy the 4.3.2 folder to the root directory / work / tools file and add it.

  sudo cp  ./work/nfs_roots/4.3.2  /work/tools

2. Add environment variables

  chmod 766 -R / etc / environment // Grant read and write permissions to / etc / environment file

  sudo vim / etc / environment // Edit the / etc / environment file

  Add the following section to the / etc / environment file.

  

 

3. Check if the path has been added to the PATH

  echo  $PATH

4. Enter arm-linux-gcc -v in the terminal to query the version information.

  

 

 

------------ End of recovery content ------------

Guess you like

Origin www.cnblogs.com/-Cheese/p/12728714.html