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

Compile arm-none-eabi 11 from source

Hi,

I want to rebuild the newest GCC 11.2 toolchain for my project as I want to introduce some space optimization flags.

On the GCC 10.3 release the process was pretty straightforward as the source code included the build-toolchain.sh script.

On the 11.2 release I didn't find such script anymore. There is a linaro abe manifest on https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/manifest/gcc-arm-arm-none-eabi-abe-manifest.txt, which also differs from the incomplete 11.2-2022.02-x86_64-arm-none-eabi-manifest.txt file included in the toolchain tar from https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz

Could you give me some pointers on how to reproduce the release build so I can add the appropriate flags?

Thanks in advance!

Parents
  • Do you know how to build newlib nano with Linaro ABE build system ? 

    With the example gcc-arm-arm-none-eabi-abe-manifest.tx it only builds newlib.

    I added:

    # Component data for newlib-nano
    newlib_nano_url=https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/src
    newlib_nano_filespec=newlib-cygwin.tar.xz
    newlib_nano_mingw_only="no"
    newlib_nano_linuxhost_only="no"
    newlib_nano_staticlink="yes"
    newlib_nano_configure="--disable-newlib-supplied-syscalls --enable-newlib-nano-malloc --disable-newlib-unbuf-stream-opt --enable-newlib-reent-small --disable-newlib-fseek-optimization --enable-newlib-nano-formatted-io --disable-newlib-fvwrite-in-streamio --disable-newlib-wide-orient --enable-lite-exit --enable-newlib-global-atexit --enable-newlib-reent-check-verify"

    but I think it overwrites the results from newlib built. I checked how Arch Linux package is build and they rename it:

    https://github.com/archlinux/svntogit-community/blob/b61681a3d77ebcd6f02e9ae39aefc7734680bf84/trunk/PKGBUILD#L57

    Any Idea or pointer where it is described ?

Reply
  • Do you know how to build newlib nano with Linaro ABE build system ? 

    With the example gcc-arm-arm-none-eabi-abe-manifest.tx it only builds newlib.

    I added:

    # Component data for newlib-nano
    newlib_nano_url=https://developer.arm.com/-/media/Files/downloads/gnu/11.2-2022.02/src
    newlib_nano_filespec=newlib-cygwin.tar.xz
    newlib_nano_mingw_only="no"
    newlib_nano_linuxhost_only="no"
    newlib_nano_staticlink="yes"
    newlib_nano_configure="--disable-newlib-supplied-syscalls --enable-newlib-nano-malloc --disable-newlib-unbuf-stream-opt --enable-newlib-reent-small --disable-newlib-fseek-optimization --enable-newlib-nano-formatted-io --disable-newlib-fvwrite-in-streamio --disable-newlib-wide-orient --enable-lite-exit --enable-newlib-global-atexit --enable-newlib-reent-check-verify"

    but I think it overwrites the results from newlib built. I checked how Arch Linux package is build and they rename it:

    https://github.com/archlinux/svntogit-community/blob/b61681a3d77ebcd6f02e9ae39aefc7734680bf84/trunk/PKGBUILD#L57

    Any Idea or pointer where it is described ?

Children
No data