User Tools

Site Tools


wiki:toolchain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:toolchain [2018/10/11 14:57]
dqu [Toolchain]
— (current)
Line 1: Line 1:
-====== Toolchain ====== 
-Kerlink provides the cross-toolchain,​ libraries and headers necessary to the compilation of an application. \\ 
-The provided toolchain and development procedure are dedicated to Linux x86 computer (32 bits and 64 bits). There is no embedded compiler in the Wirnet iBTS. 
  
-===== Install ===== 
- 
-Retrieve the installation package according to the Linux build machine architecture available on the [[wiki:​resources#​toolchain|resources]] page: 
- 
-Execute the script: 
-<code bash> 
-./​poky-glibc-x86_64-keros-toolchain-klk-lpbs-4.0.2.sh ​ 
-Poky (Yocto Project Reference Distro) SDK installer version 2.4.2 
-================================================================= 
-Enter target directory for SDK (default: /​opt/​poky/​2.4.2):​ /​opt/​toolchain/​lpbs 
-You are about to install the SDK to "/​opt/​toolchain/​lpbs"​. Proceed[Y/​n]?​ Y 
-[sudo] password for ubuntu1404: ​ 
-Extracting SDK.............................................................done 
-Setting it up...done 
-SDK has been successfully set up and is ready to be used. 
-Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. 
- $ . /​opt/​toolchain/​lpbs/​environment-setup-armv7ahf-neon-poky-linux-gnueabi 
- $ . /​opt/​toolchain/​lpbs/​environment-setup-cortexa9hf-neon-poky-linux-gnueabi 
-</​code>​ 
- 
-In order to avoid issues with Makefile using "​CFLAGS"​ or "​LDFLAGS",​ please modify the toolchain environment file (use your own toolchain directory): 
-<code bash> 
-cat << EOF >> /​opt/​toolchains/​lpbs/​environment-setup-cortexa9hf-neon-poky-linux-gnueabi 
-unset CFLAGS 
-unset CXXFLAGS 
-unset LDFLAGS 
-EOF 
-</​code>​ 
- 
-Source the toolchain environment : 
-<code bash> 
-source /​opt/​toolchains/​lpbs/​environment-setup-cortexa9hf-neon-poky-linux-gnueabi 
-</​code>​ 
- 
-System is ready to use ''​make'',​ ''​autotools''​ or ''​cmake''​. 
wiki/toolchain.1539262672.txt.gz · Last modified: 2019/01/17 10:01 (external edit)