This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Windows version of arm-linux-gnueabi and arm-linux-gnueabihf for gcc8

Hello !

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 ?

Parents Reply Children
  • Hi Przemyslaw,

    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.

  • Hi Guillermo,

    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:

    https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

    where we explain how to build toolchain using ABE with example manifest files on Ubuntu hosted machines.

    It goes something like this:

    How to build the toolchain from sources

    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.

    Instructions

    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):

    $ ../abe/configure

    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.

    kind regards
    Przemyslaw