Open mateuszdrewniak opened 5 months ago
small update: For Ubuntu 18.04.6 LTS x86_64-w64-mingw32-gcc (GCC) 7.3-win32 20180312 x86_64-w64-mingw32-g++ (GCC) 7.3-win32 20180312
script build-prerequisites.sh: completes successfully without any problems build-toolchain.sh: also stops when building mingw package
checking whether declaration is required for strstr... no
checking for utimes... no
checking for open... /home/mdrewniak/toolchain/gnu-tools-for-stm32-7-2018-q2-update.20230911-0830/src/binutils/libiberty/pex-win32.c:46:10: fatal error: stmicroelectronics/longpath.h: No such file or directory
#include <stmicroelectronics/longpath.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Hi, could you share the dockerfile (if it can be with ubuntu better) for the installation of stm32? i have tried but without success. Thank you very much
@mateuszdrewniak if this is still relevant, here's my Dockerfile: https://github.com/dbeef/gnu-tools-for-stm32-docker
Hi, I'm trying to compile gnu-tools-for-stm32 (arm 7-2018-q2-update) and get the binary that comes with STM32CubeIDE (1.5.1)
I compile with success the package from the arm website from sources https://developer.arm.com/downloads/-/gnu-rm/7-2018-q2-update
But STM32 introduced paches and there is a difference so it tries to compile this official repository.
I have two problems:
compilation terminated.
Could anyone give any hints, or maybe @stmicroelectronics-github will write what versions of x86_64-w64-mingw32 I should use.
Thanks
My environment: Ubuntu 14/04/5 x86_64-w64-mingw32-gcc (GCC) 4.8.2 x86_64-w64-mingw32-g++ (GCC) 4.8.2 GNU ld (GNU Binutils) 2.23.52.20130620