C++ Support #94348
-
Sorry fairly new to Zephyr, hopefully this is something simple. Currently using version 4.0.0 and the zephyr supplied aarch64-zephyr-elf toolchain (gcc 12). All is working well for C based applications, we have ported over our board and C apps work fine. But today I tried to port a C++ app over and it fails with:
I get this even if I build In both my app and the sample app the config for CPP is:
Any help appreciated, Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have
in my CPP example and have no issues with |
Beta Was this translation helpful? Give feedback.
-
Note I'm not using west for building, this is in a CI so trying to keep things simple I think this issue was caused by me only downloading the toolchain and setting I now download the full SDK, but only install the ARM toolchain, then set |
Beta Was this translation helpful? Give feedback.
Note I'm not using west for building, this is in a CI so trying to keep things simple
I think this issue was caused by me only downloading the toolchain and setting
CROSS_COMPILE
(which worked fine for anything C based)I now download the full SDK, but only install the ARM toolchain, then set
ZEPHYR_TOOLCHAIN_BASE
, this then works for C++ apps as well.