$ ./i2SOM-yocto-glibc-x86_64-core-image-base-cortexa7hf-neon-toolchain-2.2-r0.sh
i2SOM Yocto SDK installer version 2.2-r0
========================================
Enter target directory for SDK (default: /opt/i2SOM-yocto/2.2-r0):
You are about to install the SDK to "/opt/i2SOM-yocto/2.2-r0". Proceed[Y/n]? Y
[sudo] password for build:
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/i2SOM-yocto/2.2-r0/environment-setup-cortexa7hf-neon-i2som-linux-gnueabi
安装两个软件包的话,路径要放在不同位置,以免相互覆盖。下面就加载编译环境,并查看下编译器的版本
$ source /opt/i2SOM-yocto/2.2-r0/environment-setup-cortexa7hf-neon-i2som-linux-gnueabi
$ arm-i2som-linux-gnueabi-gcc --version
arm-i2som-linux-gnueabi-gcc (GCC) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.