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

Nathan Sidwell
Wed Dec 14 22:29:41 GMT 2022

I'm missing something from this discussion.  IIUC the claim is that these 2 new 
options -fmodule-output{,=NAME} are for build systems that want to specify the 
module output file.

But how do they specify the mapping from module/header-unit name to CMI, so that 
imports work?

Is this really a clang-specific mechanism, as it has no module mapper ATM (IIUC)?

Nathan Sidwell

More information about the Gcc mailing list