Date: Sat, 23 May 2026 18:36:11 +0200
sob., 23 maj 2026 o 12:08 Jonathan Wakely via Std-Proposals
<std-proposals_at_[hidden]> napisaĆ(a):
>
>
>
> On Sat, 23 May 2026 at 00:38, Adrian Johnston via Std-Proposals <std-proposals_at_[hidden]> wrote:
>>
>>
>> Personally, I would expect all the permutations of the standard library modules required to be provided by my compiler vender, e.g. Ubuntu.
>
>
> No, that is very explicitly NOT how modules are expected to be used or deployed. GCC provides the std.cc file and you are expected to produce a CMI for your own needs.
>
> Otherwise there would be a ton of CMIs that need to be installed for every -std and other options that affect it, and the compiler would need to know where to find them based on the command-line options.
Could one module provide multiple versions of std lib?
A lot types could be binary compatible and do not need a lot of duplications.
Otherwise how would shared std dynamic lib work?
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
<std-proposals_at_[hidden]> napisaĆ(a):
>
>
>
> On Sat, 23 May 2026 at 00:38, Adrian Johnston via Std-Proposals <std-proposals_at_[hidden]> wrote:
>>
>>
>> Personally, I would expect all the permutations of the standard library modules required to be provided by my compiler vender, e.g. Ubuntu.
>
>
> No, that is very explicitly NOT how modules are expected to be used or deployed. GCC provides the std.cc file and you are expected to produce a CMI for your own needs.
>
> Otherwise there would be a ton of CMIs that need to be installed for every -std and other options that affect it, and the compiler would need to know where to find them based on the command-line options.
Could one module provide multiple versions of std lib?
A lot types could be binary compatible and do not need a lot of duplications.
Otherwise how would shared std dynamic lib work?
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2026-05-23 16:36:27
