[Bug other/103011] fatal error: process.h: No such file or directory when canadian compile x86_64-w64-mingw32

pexu@gcc-bugzilla.mail.kapsi.fi gcc-bugzilla@gcc.gnu.org
Thu Nov 4 10:22:12 GMT 2021


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

--- Comment #8 from Pekka S <pexu@gcc-bugzilla.mail.kapsi.fi> ---
Created attachment 51734
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51734&action=edit
For CPP_FOR_BUILD use $(CC_FOR_BUILD) -E instead of $(CPP).

The problem is that when $(CPP) is not defined it is set to $(CC) -E by default
(by GNU make).  However, CPP_FOR_BUILD shall use CC_FOR_BUILD, not CC.


More information about the Gcc-bugs mailing list