public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* fixincludes and package updates
@ 2016-08-24  6:38 Basin Ilya
  2016-08-25 11:56 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: Basin Ilya @ 2016-08-24  6:38 UTC (permalink / raw)
  To: gcc-help

Hi.

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fixincludes and package updates
  2016-08-24  6:38 fixincludes and package updates Basin Ilya
@ 2016-08-25 11:56 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2016-08-25 11:56 UTC (permalink / raw)
  To: Basin Ilya; +Cc: gcc-help

* 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-25 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  6:38 fixincludes and package updates Basin Ilya
2016-08-25 11:56 ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).