![Eurotech ReliaGATE 10-10-00 Скачать руководство пользователя страница 26](http://html1.mh-extra.com/html/eurotech/reliagate-10-10-00/reliagate-10-10-00_user-manual_2440371026.webp)
Embedded Linux
ReliaGATE 10-10 User Manual
26
REGATE-10-10_UsrMan_EN_1.5
Embedded Linux
The version of Linux running on the ReliaGATE 10-10 is based on POKY Linux which is part of the Yocto
Project.
https://www.yoctoproject.org/
Developing applications
Learning how to create Yocto BSPs and using them effectively can be a time-consuming and complex process.
It is possible and often desirable therefore to build projects outside of the main poky build system. To do this
you need to download a pre-built toolchain.
Currently we are using yocto-1.3 toolchains which you will find here:
http://downloads.yoctoproject.org/releases/yocto/yocto-1.3/toolchain/
Select the version that suits your host system.
e.g.: If you are running Ubuntu 12.04 LTS 64bit, select x86_64.
In this folder you will find toolchains for different target architectures.
For the ReliaGATE 10-10 select the 'arm' toolchain.
e.g.: poky-eglibc-x86_64-arm-toolchain-gmae-1.3.sh
Installing the downloaded toolchain archive
Execute the script:
$ sudo sh poky-eglibc-i686-arm-toolchain-gmae-1.3.sh
Enter target directory for SDK (default: /opt/poky/1.3):
You are about to install the SDK to "/opt/poky/1.3". Proceed[Y/n]?
This will put the toolchain into /opt/poky/1.3/
Finally set up the environment to use the toolchain:
$ source /opt/poky/1.3/environment-setup-armv5te-poky-linux-gnueabi
Note you will need to setup this environment each time you want to use this toolchain.
You can now build C example code as follows:
$ arm-poky-linux-gnueabi-gcc hello.c –o hello