* Jason Merrill: > This patch is not ready for integration, but I'd like to get feedback on the > approach (and various specific questions below). > > -- 8< -- > > This patch introduces an installed source form of module std and std.compat. > To find them, we install a libstdc++.modules.json file alongside > libstdc++.so, which tells the build system where the files are and any > special flags it should use when compiling them (none, in our case). The > format is from a proposal in SG15. > > The build system can find this file with > gcc -print-file-name=libstdc++.modules.json
Is it possible to use specs file to redirect this to a different file based on C++ compiler flags, should that become necessary?