Where can I find the top-level build scripts used to produce the binary toolchains?
I cloned the latest ABE and downloaded the manifests and the copy_nano_libraries.sh script, but I can't build a 100% equivalent toolchain. In particular, the various newlib variants seem to be built with different cflags, leading to larger static binaries.
I found other minor differences caused by configure finding (or not finding) optional dependencies. Would be good to specify the exact build environment used by ARM.com, for example by publishing a Dockerfile or a VM image.
Still looking for an answer to this question: where can I find the top-level build scripts for the bare-metal (none) toolchain?
You're right that the ABE manifest don't capture all the flags and so it's impossible to currently build a bit identical toolchain using it.
We are currently working to release our internal build scripts for building the toolchain but I cannot give an ETA at this time.
We are trying to upstream these as soon as possible.
Thank you for your answer, Tamar. Much appreciated.