On Mon, 10 Mar 2025 at 16:06, Alberto Gcchelp via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Hi > > I plan to build (and use) GCC 15 right after relesase. Building GCC takes > several hours on my computer, so I would prefer to get it right at the > first try. > > Does building the std module require any configure option? No, because it's not built. > I tried `import std;` on compiler exporer and doesn't seem to be available > there. I also looked at https://gcc.gnu.org/gcc-15/changes.html Using modules is not currently supported on Compiler Explorer unless you set up your own CMake project and get it to build the modules, and even if you do that, I think building the 'std' module will time out and fail. That's because the std.cc file needs to be compiled for every compilation. > Perhaps should i compile it myself before use so that it is available in > gcm.cache? If thats the cas, where is std.cc going to be installed? Alongside the C++ standard library headers. You can tell GCC to compile it like so: g++ -fmodules -std=c++23 -fsearch-include-path bits/std.cc -c -fmodule-only