Naming flag for specifying the output file name for Binary Module Interface files

Iain Sandoe iain@sandoe.co.uk
Wed Dec 7 16:18:00 GMT 2022


Hi Folks,

> On 7 Dec 2022, at 15:45, ben.boeckel via Gcc <gcc@gcc.gnu.org> wrote:
> 
> On Wed, Dec 07, 2022 at 15:23:09 +0000, Jonathan Wakely wrote:
>> I disagree. I can easily remember "module output" but I would have to check
>> the manual every time to see if it's "std c++ module save file" or some
>> other permutation of those words

For my 0.02GBP, I had previously suggested “-fc++-module-file[name=]“

In review, that  was felt to be possibly unwieldy if there was a default (e.g. that the
module BMI takes the basename and appends .gcm/pcm), but I will offer the suggestion
a second time ;)

I think it is reasonable to include c++ in the spelling, since other languages supported by
GCC (and clang in due course) have modules.

Iain




More information about the Gcc mailing list