https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108866
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-03-13 Status|UNCONFIRMED |NEW --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Pali Rohár from comment #2) > Andrew, I do not know what is gcc driver nor what to do for it. But if you > can show me some pointers, I can try it. > > Or if you need more details about files, usage, etc... please let me know. See gcc.cc (default_compilers). It contains a mapping from suffix to language and language and how to "compile/assemble" the files. See also */lang-specs.h which are included via specs.h (specs.h is a generated file while building, see the makefile there and depends on which language is enabled). Most likely you would add a new target macro which adds to that part of the gcc.cc and define that macro in the mingw headers.