fixincludes FUBAR for upgrade

Bruce Korb bkorb@pacbell.net
Tue Jun 25 19:53:00 GMT 2002


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.



More information about the Gcc mailing list