Convert 3.2 sources to ISO C90

Geoff Keating geoffk@geoffk.org
Thu Jun 6 01:58:00 GMT 2002


law@redhat.com writes:

>  In message <20020606045720.GA13668@nevyn.them.org>, Daniel Jacobowitz writes:
>  > Conveniently, I believe Geoff contributed the basis of code to run
>  > fixincludes at install rather than build time last week... Packaging it
>  > up appropriately should just be the matter of an hour or two.
> Yup.  What's even better is the ability to run fixincludes *after* installation
> of the compiler.  Cygnus/Red Hat has had hacks to do this for a long time
> as it didn't make any sense (and was a legal minefield) to distribute
> fixed header files as part of our releases.

The code will work at any time, it just blows away the old fixed
headers and makes new ones.  The user interface is that you run
$prefix/lib/gcc-lib/<target>/<version>/install-tools/mkheaders after
installation or changing headers.  I'm still unsure whether perhaps
there should be something in $prefix/bin (actually, I suspect it
really goes in $prefix/sbin).

I haven't tested it on HPUX, it would be really good to try it and see
if it works (and fix it if not...).  The testcase is to install the
compiler, save the old headers, run it, and check that you get the
same results.

Even more interesting, though, is the reason I did it.  It was necessary to
do this to have a reliable Ada bootstrap compiler.  Now, HPUX may come
with a cc, but it certainly doesn't come with GCC 3.1 Ada (which is
what GCC 3.2 Ada will require for bootstrap, I hear).

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>



More information about the Gcc mailing list