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
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!
-----------------------------------------------------------------------------------------------------------------------