Imx8 toolchain

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

Imx8 toolchain

跳至解决方案
2,934 次查看
zfreeman2321
Contributor I

Hi, 

I want to build so and binary files which will run on the IMx8 board.

where I can download the cross-compile toolchain for Linux Host

Thanks.

0 项奖励
回复
1 解答
2,931 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Follow this guide build imx-image-full,

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Then use "bitbake imx-image-full -c populate_sdk".

install sdk:

tmp/deploy/sdk/xxx.sh

use sdk:

source /opt/fsl-imx-xwayland/xxx/environment-setup-aarch64-xxxx

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,932 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Follow this guide build imx-image-full,

https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

Then use "bitbake imx-image-full -c populate_sdk".

install sdk:

tmp/deploy/sdk/xxx.sh

use sdk:

source /opt/fsl-imx-xwayland/xxx/environment-setup-aarch64-xxxx

0 项奖励
回复
2,842 次查看
lebeer
Contributor II

如果工具链中的lib静态库不全,是不是需要使用下面的步骤来:

 

 

Toolchian 中静态库的添加
没有静态库,是无法静态编译应用程序的,因此,为了方便,还需要在 SDK 中添加
静态库,例如 libc。
这个特性在只需要开启即可,在 local.conf 中添加一行:


SDKIMAGE_FEATURES_append = "staticdev-pkgs

0 项奖励
回复
2,836 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

应该是用TOOLCHAIN_TARGET_TASK_append += XXX

0 项奖励
回复