FX Coudert via Gcc <gcc@gcc.gnu.org> writes: > Hi, > > I am trying to reduce the number of unneeded fixincludes that are used > on darwin (because fixincluded headers make it impossible to change > SDK once the compiler is built, which is common practice in the macOS > world, and quite useful).
It's the same problem on Linux. You get all kinds of strange problems with previously installed gccs once you upgrade the system. I'm not sure in fact any modern target gcc or clang as the standard compiler needs fixincludes at all. I usually just install with install-no-fixedincludes, but really this should probably be a configure option and default to on. -Andi