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

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 62215
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62215&action=edit
Proposed fix  for 3rd party library modules

This proposed fix adds /usr/include/m2 (prefix/include/m2) to the default
search path.
It also adds dialect sub directory paths to the include list.
For example /usr/include/m2/{m2pim,m2iso,m2log,m2min} with their associated
pathname.

It also introduces the option -fm2-pathname-root= allowing the user to add new
multi dialect libraries.  Internally cc1gm2 effectively appends
-fm2-pathname-root=/usr/include/m2  (prefix/include/m2) after the user
specified search path, but before the gcc versioned modules.

Reply via email to