AnsweredAssumed Answered

How to cross compile c++ in imx8mmevk?

Question asked by Coiln Park on Jun 4, 2019
Latest reply on Jun 24, 2019 by Coiln Park


I am developing with imx8mmevk now.


I succeeded cross-compile C file with imx8mmvek.

But I can't succeed c++ file now.

Anybody help me?


I did as below.

source /opt/fsl-imx-wayland/4.14-sumo/environment-setup-aarch64-poky-linux


aarch64-poky-linux-gcc --sysroot=$SDKTARGETSYSROOT -march=armv8-a -mcpu=cortex-a53  main.c

aarch64-poky-linux-g++ --sysroot=$SDKTARGETSYSROOT -march=armv8-a -mcpu=cortex-a53  main.cpp


 To do cross-compile with C++, I added conf/local.conf and then I could see in /usr/lib as below.

But, the below error occurred now..