Android: Install Cross compile tools

1. copy the cross tools arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz, mktools-YYYYMMDD.tar.gz(position: CD:/android/) to /tmp folder.

2. Uncompress it with the follow command:

# cd /tmp
# tar xvzf arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz –C /

Notice, you should use the root user to do it.

3. Add Path in your environment file
Modify your ~/.bashrc file to add a new path with editor (gedit or vi)

PATH=$PATH:/opt/FriendlyARM/toolschain/4.5.1/bin

To apply this change, login again or restart the .bashrc

# source .bashrc 

Check the tool-chain path to see if it is set up correctly or not, whether it show gcc version 4.5.1

# arm-linux-gcc –v

NanoPC       News       Download       Forum       FAQs       About us

English information | Follow Us: Google+ | Twitter
+86-755-29638421
Work time: 09:00-18:00
NanoPC Online Chat >
Work time: 09:00-18:00
Copyright @ 2014 to 2020 - FriendlyARM NanoPC Team