This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: fixincludes and package updates
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Basin Ilya <basinilya at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 25 Aug 2016 13:56:12 +0200
- Subject: Re: fixincludes and package updates
- Authentication-results: sourceware.org; auth=none
- References: <be354c35-e02a-89e2-7409-6a9baa9f5388@gmail.com>
* Basin Ilya:
> When you build gcc from sources, a few headers are installed to
> /usr/lib/gcc/x86_64-redhat-linux/6.1.1/include-fixed/
>
> The exact list of these headers depends on packages installed. For example:
> xorg-x11-proto-devel: X11/Xw32defs.h
> unix => __unix__
> openssl-devel: openssl/bn.h
> linux => __linux__
> libpaper-devel: paper.h
> __STDC__ => __STRICT_ANSI__
>
> If you install a newer package version, the headers in "/usr/include/"
> get replaced and the headers in "include-fixed/" become outdated.
>
> How is this supposed to work?
It does not, which is why distribution builds generally disable
fixincludes or at the very least do not install the rewritten headers.