Install Cross-Compile ToolChain
Last updated
Last updated
TIYCam is arm based CPU, and the host development is X86. To develop arm based application on x86 based PC, we need cross compile, and use the cross-compilation toolchain.
On the host development PC, download the and put under the directory /opt/ of host PC.
Edit file /etc/profile and append the environmental variable PATH:
Append the following line to the end of the file:
Run the command to activate:
Verify the version of the toolchain:
It should print out:
arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36) ) 8.3.0