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/11/20 14:01]
rdu [Toolchain]
— (current)
Line 1: Line 1:
- 
-====== Toolchain ====== 
-Kerlink provides the [[ftp://​wiki-ftp-wirgrid:​K376EpjgMEKi2qkMXNUZ@ftp.kerlinkm2mtechnologies.fr/​_kerlink/​arm-2011.03-wirma2-r59.tar.xz|arm-2011.03-wirma2-r59.tar.xz]] package which contains 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 : 
-  * 32 bits : use "​poky-glibc-i686-keros-cortexa9hf-vfp-neon-toolchain-1.8.sh"​ 
-  * 64 bits : use "​poky-glibc-x86_64-keros-cortexa9hf-vfp-neon-toolchain-1.8.sh"​ 
- 
-Execute the script (example for 32 bits arch): ​ 
-<code sh> 
-./​poky-glibc-x86_64-keros-cortexa9hf-vfp-neon-toolchain-1.8.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.1448024493.txt.gz · Last modified: 2019/01/17 10:01 (external edit)