Is the std module compiled by default when building?

Jonathan Wakely jwakely.gcc@gmail.com
Thu Mar 13 07:50:38 GMT 2025


On Thu, 13 Mar 2025, 06:54 Saifi Khan, <saifi@softwarefreedomproject.org>
wrote:

> On Mon, 10 Mar 2025, Jonathan Wakely via Gcc-help wrote:
>
> >
> > g++ -fmodules -std=c++23 -fsearch-include-path bits/std.cc -c
> -fmodule-only
>
> What is the  difference between '-fmodules-ts' and '-fmodules' ?
>
> I have been using '-fmodules-ts' to compile C++ modules, header units and
> std module without any issues. Is '-fmodules' a new option and
> '-fmodules-ts' expected to be deprecated in due course of time?
>

That's right



>
>
>


More information about the Gcc-help mailing list