@civodul is it not possible to pass -std=gnu++11 to g++ if it's v11.x?
8 comments
@sevan @civodul If you are using #libtool, you should use CXX='g++ -std=c++11' because if it’s a CXXFLAG, libtool will remove it. https://www.gnu.org/software/libtool/manual/libtool.html#Stripped-link-flags @gugurumbe @civodul I guess in this scenario you have a GCC 5.x release archive uncompressed and you're just trying to build it with new GCC, the release archive is already bootstrapped with autoconf so you're not regenerating the build infra needing libtool to be re-run? @sevan I don’t know if GCC 5.x uses libtool, but if it does, then it’s a compile-time, not bootstrap, thing. @mjw That’s the idea but there are complications in the GCC packaging in Guix (it’ll soon be time for Spring cleanup!). |
@sevan It is. I’m trying to figure out how to do that. :-)