Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to setup a cross compiler

1,435 bytes added, 12:48, 16 November 2016
m
no edit summary
Cross-development usually involves two different platforms, the host platform where actual development work takes place, and the target platform where the final application is tested and run.
'''IGEP SDK Yocto Toolchain''' provides all necessary tools like a cross compiler, embedded libraries, etc. to compile program sources for IGEP devices.
'''IGEP SDK Yocto Toolchain''' is included in '''IGEP SDK Virtual Machine ''' but you can install in other Linux operating system.
= Download/Install IGEP SDK Yocto Toolchain =<section begin ==='''IGEP OMAP3'''===install_sdk /> Download IGEP SDK&nbsp;from - [http://www.isee.biz/componentsupport/zoodownloads/item/igep-sdk-yocto-toolcahintoolchain-sdk 1-2-2-3 isee.biz] website and follow the next steps:
follow the next steps:
*Open a terminal
*Located your downloaded file, in my case is inside /home/jdoe/Downloads:
<pre>jdoe@ubuntu ~ $ cd Downloads/</pre>
*Extract binaries in root directory with root privileges<br>
<pre>jdoe@ubuntu ~/Downloads $ sudo tar jxf igep-sdk-yocto-toolchain-*.tar.bz2 -C /</pre>
*Make sure that binaries are installed correctly.
<pre>jdoe@ubuntu ~/Downloads $ ls /opt/poky/
1.2 1.2.1 </pre> <section end=install_sdk />= Use IGEP SDK =
==='''IGEP iMX6'''=== Download - [http://downloads.isee.biz/pub/releases/sdk/poky-glibc-x86_64-isee-fsl-image-dev-cortexa9hf-vfp-neon-toolchain-1.8.sh isee.biz] follow the next steps:*Open a terminal *Located your downloaded file, in my case is inside /home/jdoe/Downloads:<pre>jdoe@ubuntu ~ $ cd Downloads/</pre> *Extract binaries in root directory with root privileges<br><pre>jdoe@ubuntu ~/Downloads $ sudo sh *.sh /</pre>*Make sure that binaries are installed correctly.<pre>jdoe@ubuntu ~/Downloads $ ls /opt/poky/1.8 </pre>  = Use IGEP SDK Yocto Toolchain = IGEP SDK Yocto Toolchain can be integrated with multiple IDEs, but the simplest method to prove it is using terminal:
*Create source code text file:
*Execute arm executable file inside IGEP Board (remote shell):<br>
<pre>root@igep00x0:~# ./hello-world
Hello world&nbsp;!</pre>  
= Other Cross compilers for IGEP Boards =
sudo ln -f -s /usr/bin/arm-linux-gnueabi-gcov-4.5 /usr/bin/arm-linux-gnueabi-gcov
sudo ln -f -s /usr/bin/arm-linux-gnueabi-gcc-4.5 /usr/bin/arm-linux-gnueabi-gcc </pre>
= IDE programs = An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of:  *a source code editor *build automation tools *a graphical debugger IGEP SDK can be integrated with some popular IDEs like Eclipse, QT Creator and Codeblocks. IGEP SDK Virtual Machine includes by default Eclipse and Qt Creator to let develop applications quickly.<br>  == Eclipse == ''(from [[CategoryHow to install Eclipse IDE]])''  {{#lst:Work_in_progressHow to install Eclipse IDE|overview}}  == QtCreator == ''(from [[How to install Qt Creator]] )''  {{#lst:How to install Qt Creator|overview}}  == Codeblocks == ''(from [[Install and configure Codeblocks for IGEP devices]])''  {{#lst:Install and configure Codeblocks for IGEP devices|overview}}   {{Message/Forum}} [[Category:Development_tools]] [[Category:How_to_forge]]
4,199
edits