C++ Logo

sg15

Advanced search

Re: What is the outcome of the 12-12 meeting for the initial question: the location of std module units?

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Thu, 14 Dec 2023 15:52:45 +0000
Not, it isn't necessarily set when the compiler is built. It might be set when the compiler binaries is "packaged"-and-delivered.

-- Gaby


________________________________
From: SG15 <sg15-bounces_at_[hidden]> on behalf of Daniel Ruoso via SG15 <sg15_at_[hidden]>
Sent: Thursday, December 14, 2023 7:49:33 AM
To: Chuanqi Xu <chuanqi.xcq_at_[hidden]>
Cc: Daniel Ruoso <daniel_at_[hidden]>; SG15 <sg15_at_[hidden]>
Subject: Re: [SG15] What is the outcome of the 12-12 meeting for the initial question: the location of std module units?

On Thu, Dec 14, 2023, 10:45 Chuanqi Xu <chuanqi.xcq_at_[hidden]<mailto:chuanqi.xcq_at_[hidden]>> wrote:
I don't understand the question. I mean, is it true that we have a one-to-one (or zero) map from platforms to default standard libraries?

It is set at the time the compiler is built. I wouldn't say it's "platform" specific. As this is chosen by whoever built the compiler (e.g.: the maintainer for the gcc package in Debian).

If it is not true, then I misunderstood it from the beginning. And if it is true, why can't the build system get the maps then get the standard libraries by the current platforms?

That interface doesn't exist in a well defined way today. In large part because it's not necessary, as the build system doesn't quite need to know that the std library even is.

Daniel


Received on 2023-12-14 15:52:50