(i hope im in the right list) Story: I got a 20 years old arm-elf cross-toolchain under a properitary old Cygwin 1.42x installation on an old Windows XP its gcc 3.4, binutils 2.15 and newlib 1.12.0 - so everything is just old :) the toolchain builds a firmware Goals: out of curiosity i want to rebuild the (as near as possible)exact cross-toolchain versions (on linux) and replace the old Cygwin stuff fully currently im using Debian 7 to build a x64 version of these old versions of gcc/binutils/newlib (newer distros/gcc fail to build due to glibc header differences, etc.) (with this simple script https://pastebin.com/UCFcS8qp) and the resulting toolchain runs flawless under my x64 Ubuntu 23.04 - its not fully correct configured but a good start im using gcc -V: https://pastebin.com/BkCm3YXg gcc -dumpspecs: https://pastebin.com/7Y2YX9kt gcc -print-multi-lib: https://pastebin.com/4zghUcZ1 to get the build-specs etc. from the old gcc Question: -can i directly use the dumpspecs for building? (i want to be exact as possible and there are so many settings in den dumped specs) -how can i get the libstdc++ build settings? (im missing the used exception model) -are there other config stuff that i need to replicate? (gcc related) thx for any tips