[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building with gcc/g++ 3.1 ?



On Fri, Jun 14, 2002 at 10:38:23AM +0200, Wouter Clarie wrote:
> On 14 Jun 2002, Panda wrote:
> 
> > I see a lot of posts from people building openbsd and/or ports
> > with gcc-3.1.
> > I wonder if it is worthwhile, is there a performance gain.
> > Well, i guess i wonder about the motivation behind rebuilding with
> > 3.1.
> 
> No, it's not really worth the time. Especially not on i386. the compiler
> is heaps slower and the code it produces is much larger. A step backwards,
> if you ask me.

Huh ? much larger ? I haven't noticed that yet.

Right now, gcc 3.1 is mostly useful to try to debug gcc 3.1 and to fix
a few oddities in our sources (e.g., robustness).

It's also useful if you wish to play with ada, or verify ISO C++
conformance...

It's nowhere near the level of general consumption yet.

If you end up in deep shit because you recompiled your system with gcc 3.1,
tough. Reinstall a snapshot. 

I will answer *reasonable* questions. In this case, `reasonable question'
is something that is non-trivial, and that denotes some amount of
experience.

Sorry, the gcc 3.1 port is definitely not for the casual user yet.

(and the java part of it is completely foobar right now, if someone manages
to fix boehm-gc to work with a.out shared libraries, that would be cool).