User Tools

Site Tools


wiki:toolchain

Differences

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

Link to this comparison view

Next revision
Previous revision
wiki:toolchain [2018/03/09 10:08]
ghi created
— (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: 
- 
-Unzip it and make it executable (example for 64 bits arch): 
-<code bash> 
-tar -xzf poky-glibc-x86_64-keros-cortexa9hf-neon-toolchain-2.1_keros-2.0.0.tar.gz 
-</​code>​ 
- 
-Execute the script: 
-<code bash> 
-./​poky-glibc-x86_64-keros-cortexa9hf-neon-toolchain-2.1.sh 
-Enter target directory for SDK (default: /​opt/​poky/​2.1):​ /​opt/​toolchains/​lpbs 
-You are about to install the SDK to "/​opt/​toolchains/​lpbs"​. Proceed[Y/​n]?​ Y 
-Extracting SDK...done 
-Setting it up...done 
-SDK has been successfully set up and is ready to be used. 
-</​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.1520586485.txt.gz · Last modified: 2019/01/17 10:01 (external edit)