2025-04-16 2:23 AM
Been looking around how to install GCC native ARM tool-chain on the STM32MP1 & MP2 to be able to build C applications on an ARM host. Is that possible or it can only be done with a Intel based cross compiler ?
2025-04-16 2:28 AM
@debugging wrote:Is that possible or it can only be done with a Intel based cross compiler ?
GCC on Linux ARM must be possible - Raspberry Pi does it!
2025-09-05 2:18 AM
If you are building Yocto you can find some recipe to install gcc on the target it self for native build (i don't know the recipe name sorry..)
Or you can issue bitbake command
bitbake -c populate_sdk <your-image-name>
to build a cross compiler for your target image along with target rootfs. Which can be found in deploy/sdk directory of your build. and can be installed on other machines.