On Thu, Oct 05, 2023 at 12:59:21 +0100, Sergei Trofimovich via Gcc wrote:
> Sounds good. Do you have any preference over specific syntax? My
> suggestions would be:
> 
> 1. `-fmacro-prefix-map=file-name`: if `file-name` there is not in `key=val`
>    format then treat it as file
> 2. `-fmacro-prefix-map=@file-name`: use @ as a signal to use file
> 3. `fmacro-prefix-map-file=file-name`: use a new option

Whatever is picked, please let `ccache` and `sccache` know so that they
can include this argument's contents in their hashes. `distcc` and other
distributed build tools need to know to send this file to wherever
compilation is happening as well (though they may actually not care as
they may send around preprocessed source?).

Thanks,

--Ben

Reply via email to