Andi Kleen via Gcc <gcc@gcc.gnu.org> writes: > 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.
See --disable-fixincludes from r13-2319-gbe9dd80f933480. Long overdue but we got it :) > > -Andi thanks, sam