It seems like the binaries for the windows version of arm-linux-gnueabi and arm-linux-gnueabihf has been removed in gcc8. Have the support for windows been removed or will it appear ?
Hello Uban,Indeed, support for Windows hosted (mingw) arm-linux-gnueabi and arm-linux-gnueabihf has been removed from GCC 8 releases.
kind regardsPrzemyslaw Wirkus
So the good news is that we are bringing back Windows hosted crosses for: arm-none-ilnux-gnueabhf and aarch64-none-linux-gnu targets for upcoming release of GCC 9 toolchain!
We should be releasing whole toolchain shortly.
kind regardsP. Wirkus
I have one question about it:
What is required in order to build it from source for Windows? I have been trying to compile the Linaro version 7.5 of GCC arm-linux-gnueabi (no hard float) with MSYS2 and MingW32 (kinda cross-compiling a cross compiler I think :D), performing the config step with similar arguments as of ones you get with gcc -v... without much success yet. I basically want to obtain the release version as downloaded from Linaro's or ARM's website... I just need to modify a compile flag in order to target armv6 due to hardware compatibility issues (ARM11 target). Any clues?
Thanks in advance
Guillermo Garcia M.
I understand that you want to build Windows hosted targeting arm-linux-gnueabi machine toolchain.
If you are planing to do this on x86_64 Linux (e.g. Ubuntu 16.04) then you will be doing Canadian cross compilation.
What you need for sure is "gcc-mingw-w64" Ubuntu package (sudo apt-get install gcc-mingw-w64). You may also need other things like: autoconf or libtool. We currently build Windows hosted toolchains on Ubuntu 16.04.6 LTS machines. Build can be done with Linaro's ABE build system easily.
You can have a look at release note of e.g. latest toolchain:
where we explain how to build toolchain using ABE with example manifest files on Ubuntu hosted machines.
It goes something like this:
You can build GNU cross-toolchain for the A-profile from sources using Linaro ABE (Advanced Build Environment) and provided ABE manifest files.
Below example shows how to build gcc-arm-aarch64-linux-gnu toolchain from sources using Linaro ABE build system.
Clone ABE one of the URL below and checkout the stable branch (see Getting ABE):
$ git clone https://git.linaro.org/toolchain/abe.git
Create the build directory and change to it. Any name for the directory will work (see Building Toolchains With ABE):
$ mkdir build && cd build
Configure ABE (from the build directory):
And finally build toolchain (from the build directory):
$ ../abe/abe.sh --manifest gcc-arm-aarch64-linux-gnu-abe-manifest.txt --build all
PS: We do not build Windows hosted toolchains on Windows hosts so I'm unable to help you there.
This is very useful, thank you
View all questions in GNU Toolchain forum