Can I use the RedHat devtoolset to build non-GPL-ed software? Do I have to mind any caveats?
From my understanding, the devtoolset knows the limitations of the standard libraries shipped with older RedHat-Distributions. It links those missing parts of glibc and libstdc++ statically into otherwise dynamically linked code. Namely, the RedHat documentation states: "Some newer library features are statically linked into applications built with Red Hat Developer Toolset to support execution on multiple versions of Red Hat Enterprise Linux."
In case of glibc (LGPL) this would be problematic, because static linking would require to make at least the object files of the proprietary software available.
A senior developer thus claims, using the devtoolset would/might put our code under GPL and thus we have to stick with CentOS 5 and gcc 4.1 (for many years to come).