Re: Error while upgrading FreeBSD-Release6.1 to CURRENT

From: Randall Stewart <rrs_at_cisco.com>
Date: Wed, 25 Jul 2007 08:50:38 -0400
blue 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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Hmm... I hit a similar problem a while back and
what I did is mv the original gcc to old.gcc
and then setup links from
gcc and cc to -> gcc.42 (or whatever the name was for
it)

That worked for me.

R

-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)
Received on Wed Jul 25 2007 - 10:50:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC