This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fixincludes FUBAR for upgrade
- From: Bruce Korb <bkorb at pacbell dot net>
- To: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>, gcc at gcc dot gnu dot org
- Cc: Bruce <bkorb at gnu dot org>
- Date: Tue, 25 Jun 2002 18:12:05 -0700
- Subject: Re: fixincludes FUBAR for upgrade
- Organization: Home
- References: <Pine.GSO.4.44.0206251746500.535-100000@scooby>
Bob Friesenhahn wrote:
>
> Bruce,
>
> In times gone by, gcc provided a 'fixincludes' script that could fix
> system headers. It didn't depend on any binaries. I upgraded my OS
> from Solaris 2.6 to Solaris 9 and now I am stuck in the unenviable
> position that the fixed headers from Solaris 2.6 are not sufficient to
> build xgcc or fixincl. If I had a fixincludes to run, then I could
> get around this problem. It seems that gcc 3.X has discarded a
> portable fixincludes.
>
> Did the gcc maintainers not forsee that users must update the OS
> sometimes? What to do?
Severely castigate the perveyors of non-ANSI compliant system headers?
But, "feel better" flippant answers aside, it seems we do have a problem.
We'll have to find a proper fix, but if you can build a "fixincl"
binary on your old 2.6 box, it ought to run on 2.9, too. Oh, the
old fixincludes wasn't completely portable (note the special variants,
some of which we still have), and also it was majorly painful to
maintain. Ick. Thanks for the report.