Compiling bare metal C++ code with arm-poky-linux-gnueabi-g++ can't be executed. I want to ask if I need some compile conditions.
Hello Wang Zhimin,
Just the ARCH and CROSS_COMPILE variables, as long as the toolchain is initialized on the environment. There are a couple of Community Threads with examples or the basic steps, like the following:
https://community.nxp.com/thread/308974
I hope this helps,
Regards,