Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jan 2002 19:52:22 +0100
From:      "Idar Tollefsen" <Idar.Tollefsen@baerum.kommune.no>
To:        <freebsd-alpha@freebsd.org>
Cc:        <jhb@freebsd.org>
Subject:   RE: Using GCC 3 for ports?
Message-ID:  <sc3c9f93.060@mail.baerum.kommune.no>

next in thread | raw e-mail | index | archive | help
John,

> Don't use gcc 3.0.x.  It will dump core on the following code:
>=20
>        switch(foo) {
>        default:
>                blah();
>                break;
>        }
>
> You don't want to know how many places code like this exists in
> our source tree much less in 3rd party software.  :)  Just make
> sure you have gcc 3.1.x which has this bug fixed.  It doesn't look
> like gcc 3.1 is in ports (probably cause there's no released version
> of it yet).  However, if you really want to, you can install the
> gcc30 port, and build by doing 'make CC=3Dgcc30'.

I might hold off until I see 3.1 appear in the port collection then.

But CC=3Dgcc30 (or 31) is it? What about include paths? Doesn't
3.x install it's own set of updated libraries, headers, e.g.?


- IT



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sc3c9f93.060>