Install linux cross compiler environment and hello Word

Learn linux common commands

 

There is a very practical:

tab command completion / completion path / filename completion:

It is a tab completion

Two tab, lists information

 

 


Extracting sudo tar zxvf arm-linux-gcc-4.4.3.tar.gz -C /

 

 

 

Run the command: sudo gedit /root/.bashrc

Add the environment variable: export PATH = $ PATH: /opt/FriendlyARM/toolschain/4.4.3/bin

 

Or failure will find that after you add the environment variable, after Baidu know, do not panic, this is because we ubuntu16.04 is a 64-bit system, you need to install 32-bit library support arm-linux-gcc.

Enter sudo apt-get install lsb-core

 

Finally input arm-linux-gcc -v, displays the test completion

Write a program

 

Ha ha ha but he added a line break.

 

 

 

 

 

 

 

over!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 24 original articles · won praise 21 · views 110 000 +

Guess you like

Origin blog.csdn.net/cczx139/article/details/90741007