bootstrap/3250: gcc 3.0 will not compile on SPARC Solaris 2.5.1 system

Craig Rodrigues rodrigc@mediaone.net
Fri Jan 4 21:03:00 GMT 2002


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




More information about the Gcc-bugs mailing list