Hi All, I am new to ARM and linux. I have been having trouble installing a cross compiler on tiny6410 running on ubuntu. This is what i have done so far(referred http://www.minidevs.com/Tiny6410/Bootloader.html#5_1_Install_the_Build_e...): 1. copy the cross tools arm-linux-gcc-4.5.1.tgz, mktools.tar.gz, logomaker.tgz (position: CD:/linux/) to /tmp folder. 2. uncompress it with the follow command: # cd /tmp # sudo tar xvzf arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz –C / # sudo tar xvzf mktools-20110720.tar.gz –C / # sudo tar xvzf logomaker.tgz –C / 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 but when i try arm-linux-gcc –v i get cannot execute binary file. I have checked the PATH, links and permissions and they seem to be fine. Any help is highly appreciated. Thanks, Uday
installation of cross compiler on tiny6410
You tried to run a cross compiler *for* your Mini6410 *on* your Mini6410? If it should run *on* your Mini6410, you need a native compiler. If you want to run it on your host (mostly x86) you need a cross compiler to create code *for* your Mini6410.
The Tiny6410 DVDs include Ubuntu for Tiny6410. If you use run Ubuntu (Kubuntu) you can use the Ubuntu tools to compile on the TIny6410. you can also use the apt-get install if you are connected to the Internet.