How to Build Cross Compile Toolchains For i.MX8M

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to Build Cross Compile Toolchains For i.MX8M

8,824 次查看
bakbad
Contributor III

Hi, everyone

I want to build a cross compile toolchains in ubuntu for imx8mq, but can not find related toolschains in nxp.com. Please help me.

Thanks in advance.

Regards,

bo xu

标签 (2)
0 项奖励
回复
1 回复

8,404 次查看
igorpadykov
NXP Employee
NXP Employee

Hi bo

install the Ubuntu toolchain gcc-aarch64-linux-gnu GNU C compiler for the arm64 architecture:
$ sudo apt-get install gcc-aarch64-linux-gnu
Export the environment variables:
$ export ARCH=arm64
$ export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------