public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiling gcc-2.95.3 under Solaris 2.5.1
@ 2001-10-28  6:12 cmeli
  0 siblings, 0 replies; only message in thread
From: cmeli @ 2001-10-28  6:12 UTC (permalink / raw)
  To: gcc-help

On a Sparc running Solaris 2.5.1 and gcc 2.95.2 I decided to install
gcc-2.95.3 in a separate directory (to keep a recent gcc-2.95.3 available),
and I planned to install gcc-3.0.2 afterwards.

So I installed gcc-2.95.3 though I had these problems which I managed to fix.
I'm listing them just in case anyone has a similar problem.

I build in a seperate directory as recommended.
<path to gcc source>/configure --languages="c,c++" --prefix=/usr/local/gcc2

I used this make command:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap


Basically I got an error when compiling gcc-2.95.3, undefined LC_TIME.
The error given was in <gcc source path>/texinfo/makeinfo/makeinfo.c

I fixed it by editing this file - I added #include "locale.h" after
#include "getopt.h"

Can anyone help me understand why this include file was not listed as it
should have been? Is it a problem with my system or some old gcc-2.95.3 bug?

I'm asking as I had some similar errors with gcc-3.0.2 which I will post
about in another email.

Regards,
Clyde Meli

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-28  6:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-28  6:12 Compiling gcc-2.95.3 under Solaris 2.5.1 cmeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).