This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
- From: Craig Rodrigues <rodrigc at mediaone dot net>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, steve at smc dot vnet dot net, gcc-gnats at gcc dot gnu dot org
- Date: Sat, 5 Jan 2002 00:03:44 -0500
- Subject: Re: bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system
- References: <20011227041308.7739.qmail@sources.redhat.com> <87pu4p4foi.fsf@creche.redhat.com>
On Fri, Jan 04, 2002 at 08:53:01PM -0700, Tom Tromey wrote:
> We have seen problems like this in some situations.
>
> In this case, toplev.c needs <locale.h>. I don't see this include.
> Perhaps it is hidden somewhere, though I failed to find that as well.
>
> Steve's approach to a fix seems reasonable to me.
>
> Tom
Tom,
toplev.c already includes intl.h which has:
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
If the configure script did not correctly detect
locale.h on the system, then that might cause
problems. I'm wondering, is this a repeat of the problems
you saw in:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?pr=4972&database=gcc&cmd=view