This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/2236: config.if (gcc 2.95.2, possibly others) pukesif it can't find gl*bc
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: david parsons <orc at pell dot portland dot or dot us>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Nov 2002 14:08:05 -0600 (CST)
- Subject: Re: bootstrap/2236: config.if (gcc 2.95.2, possibly others) pukesif it can't find gl*bc
[About building gcc on a libc4.8 system]
I don't know whether gcc is supposed to support these _very very_ old
systems any more, so I am unsure about how to proceed with this report.
> > Synopsis: config.if (gcc 2.95.2, possibly others) pukes if it can't find gl*bc
>
> This patch gets around the test for gl*bc (in gcc 3.2) -- there
> appear to be other places where portability is tossed out the
> window, but at least configure gets more done before it hits the
> next unportable section.
Why don't you submit this patch (or a suitably modified form) to
gcc-patches?
W.
> *** config.if~ Tue Nov 19 10:48:10 2002
> --- config.if Tue Nov 19 10:48:58 2002
> ***************
> *** 63,71 ****
> rm -f $dummy.c $dummy
> else
> # It should never happen.
> ! echo "Cannot find the GNU C library minor version number." >&2
> rm -f $dummy.c $dummy
> ! exit 1
> fi
> else
> # Cross compiling. Assume glibc 2.1.
> --- 63,71 ----
> rm -f $dummy.c $dummy
> else
> # It should never happen.
> ! echo "Congratulations! This system doesn't use the GNU C library" >&2
> rm -f $dummy.c $dummy
> ! libc_interface=-
> fi
> else
> # Cross compiling. Assume glibc 2.1.
>
>
> -david parsons
>
> >
> > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2236
> >
>
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth