using sdk out of yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using sdk out of yocto

Jump to solution
1,268 Views
玉栋郭
Contributor III

hi everyone ,

I got sdk out of yocto using below commond :

bitbake fsl-image-qt5 -c populate_sdk

and I installed successfully

but i must specify sysroot for compile app . it looks like :

arm-poky-linux-gnueabi-gcc -o test test.c  -sysroot=/opt/imx6ul_yocto_sdk_20170220/sysroots/cortexa7hf-neon-poky-linux-gnueabi

 i am trying to make it use  no -sysroot . so i specify C_INCLUDE_PATH  but it dosn't work.

can anyone help me?

Labels (4)
Tags (1)
1 Solution
1,021 Views
玉栋郭
Contributor III

hi~    thank you for your reply , i got the answer,

https://community.nxp.com/thread/436885 

View solution in original post

0 Kudos
2 Replies
1,021 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Thank you for writing.

How did you write the C_INCLUDE_PATH?

For example, this is how I wrote the C_INCLUDE_PATH.

C_INCLUDE_PATH=/opt/fsl-imx-wayland/4.1.15-1.2.0/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include/ (This is for my computer).

And, this is how I am compiling the app.

$CC -o hello hello.c (Again, this is for my computer).

I hope this information can solve your question.

Best Regards,

Diego.

1,022 Views
玉栋郭
Contributor III

hi~    thank you for your reply , i got the answer,

https://community.nxp.com/thread/436885 

0 Kudos