https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121963

Nathaniel Shead <nshead at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nshead at gcc dot gnu.org

--- Comment #2 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
The default module mapper can also be provided options, including changing the
default root directory, like so:

  -fmodule-mapper="|@g++-mapper-server --root /path/to/cache/dir"

Admittedly this is a little bit arcane, and isn't described in the
documentation clearly.  A simpler option for this might be helpful.

(In reply to jussi.pakkanen from comment #0)
> Even more annoyingly, if both of them use "import std", but have different
> flags for it (e.g. the C++ language version), they will clash.

At least for this, it might also be good to have an option to include the
language dialect flags in the default gcm.cache path to prevent these kinds of
clashes.

Reply via email to