This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: improve install-no-fixedincludes Makefile target
Olivier Hainque <hainque@adacore.com> writes:
>
>> Maybe with some --disable-fixed-headers or so?
>> (I may be missing something here, so thanks for any hints.)
>
> Humm, I don't think that would simplify because we need the 'fixed'
> set of headers to build the libraries anyway. And we often really need
> them for other installation purposes as well.
At least on modern Linux I don't think I ever saw any useful fix
out of fixincl. What it usually does is to "fix" a lot of header files
which are not used, but the distribution happened to put into
/usr/include. And typically it's just fixes for obscure things
that are only a problem at -pedantic or so.
I used a script for years now to delete all the fixincludes in my
local installs and I don't think I ever saw any problem from that.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.