We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
We need to rebuild the arm-gnu-toolchain, but the instructions for doing this are incomplete.
I have found several topics on this, but the issue is still not resolved.
Build scripts for arm-none-eabi GNU toolchain
where to find Arm GNU Toolchain building scripts for arm-none-eabi-gcc ecosystem ?
Rebuilding arm-gnu-toolchain-12.3.rel1 from sources
The problem is that we really need to rebuild the toolchain because the released binaries don't support big-endian CPUs (TMS570). After 10 years, I've lost hope that the necessary patches will be accepted (due to difficulties with automatic testing).
I tried to follow the instructions from https://gitlab.arm.com/tooling/gnu-devtools-for-arm/-/tree/main, but without success. It compiles something successfully, but the result is very different from the released package.
# build linux version and libs ./build-gnu-toolchain.sh --target=arm-none-eabi --aprofile --rmprofile -- --release --package --enable-newlib-nano # build MinGW binaries mkdir -p build-mingw-arm-none-eabi ./build-gnu-toolchain.sh --target=arm-none-eabi --aprofile --rmprofile -- --release --package --enable-newlib-nano --builddir=/root/build-mingw-arm-none-eabi --config-flags-host-tools=--host=x86_64-w64-mingw32 --host-toolchain-path=/root/build-arm-none-eabi/install/bin
Is there any progress on publishing scripts that can reproduce your release process?
Jiri
This is not what we need (it contains the binary distribution of the ARM-GCC toolchain from https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack ). Mainly, we need to reduce dependencies to compile our projects, not add new dependencies like NodeJS.
A far better approach is https://github.com/FreddieChopin/bleeding-edge-toolchain (it works, but we want to use the official arm-gnu-toolchain package from ARM, not a random collection of repository versions).
We need to recompile the toolchain itself with patches. Not only the big-endian patch, but we also need the ability to apply potential security or urgent patches when necessary.