User Tools

Site Tools


wiki:sdk

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:sdk [2015/12/09 15:19]
rdu [Install]
— (current)
Line 1: Line 1:
- 
-====== Toolchain ====== 
-Kerlink provides the cross-toolchain,​ libraries and headers necessary to the compilation of an application. ​ 
-===== Install ===== 
- 
-Retreive the installation package according to the linux build machine architecture available on the [[wiki:​ressources|ressources]] page: 
-  * 32 bits : use "​poky-glibc-i686-keros-cortexa9hf-vfp-neon-toolchain-1.8_c8115a9.sh"​ 
-  * 64 bits : use "​poky-glibc-x86_64-keros-cortexa9hf-vfp-neon-toolchain-1.8_c8115a9.sh"​ 
- 
-Execute the script (example for 32 bits arch): ​ 
-<code sh> 
-./​poky-glibc-x86_64-keros-cortexa9hf-vfp-neon-toolchain-1.8_c8115a9.sh 
-Enter target directory for SDK (default: /​opt/​poky/​1.8):​ /​opt/​toolchains/​loraV2 
-You are about to install the SDK to "/​opt/​toolchains/​loraV2"​. Proceed[Y/​n]?​ Y 
-Extracting SDK...done 
-Setting it up...done 
-SDK has been successfully set up and is ready to be used. 
-</​code>​ 
- 
-Modify toolchain environment file (use your own toolchain directory): 
-<code sh> 
-echo "unset CFLAGS"​ >> /​opt/​toolchains/​loraV2/​environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
-echo "unset CXXFLAGS"​ >> /​opt/​toolchains/​loraV2/​environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
-echo "unset LDFLAGS"​ >> /​opt/​toolchains/​loraV2/​environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
-</​code>​ 
- 
-Source the toolchain environment : 
-<code sh> 
-source /​opt/​toolchains/​loraV2/​environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
-</​code>​ 
- 
-System is ready to use "​make"​ 
  
wiki/sdk.1449670794.txt.gz · Last modified: 2019/01/17 10:01 (external edit)