2024-01-11 04:08 AM
Hi,
I would like to use the patched compiler from ST to build my project for STM32G4.
My goal is to setup a Docker container to be able to build the project in an CI environment on a server.
Do you have a docker container available, where gnu-tools-for-stm32 is already installed?
I cloned the repo from Github (https://github.com/STMicroelectronics/gnu-tools-for-stm32) and tried to run the
build-toolchain.sh script, but I got many errors. Is there some documentation how to install this toolchain?
Best regards,
Flad
2024-02-16 06:20 AM
Hi @FLAD ,
I got the information that the build-prerequisites.sh script should be run first then the build-toolchain.sh.
The flag --skip_steps can be used to avoid building unneeded components such as howto, etc...
Please try this way and let me know if problem is resolved or not.
If you still have errors, please share them with us.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-14 12:31 AM
We try to build the toolchain 12.3.rel1 with mingw for Windows on Ubuntu. But the build process fails among others because */libiberty/pex-win32.c does not find stmicroelectronics/longpath.h. I also do not find this header? What can we do?