Subject: Re: Problem with egcs
To: Todd Vierling <tv@pobox.com>
From: Brian Stark <bstark@siemens-psc.com>
List: netbsd-help
Date: 03/01/1999 10:09:04
On Mon, 1 Mar 1999, Todd Vierling wrote:

> % cc -v
> gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
> % cat x.c
> const int beta = 4;
> % cc -O3 -c x.c
> % nm x.o
> 0000000000000000 R beta
> % cat x2.c
> static const int beta = 4;
> % cc -O3 -c x2.c
> % nm x2.o
> 0000000000000000 r beta
> 
> Nope, I don't see it.  However, let me ask you this - are you compiling egcs
> 1.1.1 "out of the box" to run on NetBSD 1.3.x?  Or is your system
> NetBSD-current, with the included egcs?  (egcs 1.1.x "out of the box" does
> *not* work properly on NetBSD; this is one of my tasks to finish for the
> upcoming NetBSD 1.4 release.)

Hi Todd,

Thanks for the quick response. Yes, I am compiling egcs "out of the box"
to run on NetBSD 1.3.3/i386. 

I installed egcs because when I attempted to compile the mozilla source
code I got an "internal compiler error" message using the standard 2.7.2.x
compiler that shipped with NetBSD 1.3.3. I've been in contact with some
people at Netscape and was told that I would have to use egcs to compile
the mozilla source.

Running NetBSD-current is not an option for me now -- I prefer to use the 
official releases, which presumably are a little more stable. I hope that
a 1.4 release will not be too far off in the future. :)

Brian

-------------------------------------------------------------------------
| Brian Stark                       | Internet : bstark@siemens-psc.com |
| Siemens PT&D, LLC                 | Voice    : +1 612 536-4697        |
| Power Systems Control Division    | Fax      : +1 612 536-4919        |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428   USA            | 
-------------------------------------------------------------------------