How to Build Cross Compile Toolchains For i.MX8M

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Build Cross Compile Toolchains For i.MX8M

9,352件の閲覧回数
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,932件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------