Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 14:04:52 +0200
From:      luca <luca@lavabit.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Error while upgrading FreeBSD-Release6.1 to CURRENT
Message-ID:  <20070725140452.261d8046@linux.site>
In-Reply-To: <46A72DBC.1080400@zyxel.com.tw>
References:  <46A72DBC.1080400@zyxel.com.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
When you install a new version of gcc from ports,
the gcc command still point to the version used
to build the release.

What's the output of "gcc -v" ?

To build with the newvest gcc, you have something
like gcc42.
 
Hope it helps

luca

On Wed, 25 Jul 2007 19:02:20 +0800
blue <susan.lan@zyxel.com.tw> wrote:

> Dear all:
> 
> I have a problem while upgrading FreeBSD-6.1 to CURRENT. First of all, I 
> encountered config version mismatch. So I re-buildworld, and that error 
> disappeared. However, gcc version for FreeBSD-6.1 seems old since 
> CURRENT needs version 4.x. So I went to ports tree and install latest 
> gcc4.2. But after buildkernel, there was still error message: cc1: 
> error: unrecognized command line option "-mno-align-long-strings"
>                                     cc1: error: unrecognized command 
> line option "-fformat-extensions"
> 
> I don't know what else I could do. Please help me out.
> 
> Thanks.
> 
> blue
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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