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.
Solved! Go to Solution.
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
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
如果工具链中的lib静态库不全,是不是需要使用下面的步骤来:
Toolchian 中静态库的添加
没有静态库,是无法静态编译应用程序的,因此,为了方便,还需要在 SDK 中添加
静态库,例如 libc。
这个特性在只需要开启即可,在 local.conf 中添加一行:
SDKIMAGE_FEATURES_append = "staticdev-pkgs
应该是用TOOLCHAIN_TARGET_TASK_append += XXX