1. decompress the armv6.tar.gz under /opt
2. its directory name is armv6
tar xvjf armv6_codesourcery.tar.bz2 -C /opt/
# su account
$ vi ~/.bash_profile
export PATH=/opt/armv6/codesourcery/bin:$PATH
$reboot
# arm-none-linux-gnueabi-gcc -v ( confirm the version number )
in ubuntu
cat > ~/.bash_profile
PATH=$HOME:/opt/armv6/codesourcery/bin:$PATH
export PATH
ctrl+D
No comments:
Post a Comment