Date: Wed, 25 Jul 2007 08:50:38 -0400 From: Randall Stewart <rrs@cisco.com> To: blue <susan.lan@zyxel.com.tw> Cc: freebsd-current@freebsd.org Subject: Re: Error while upgrading FreeBSD-Release6.1 to CURRENT Message-ID: <46A7471E.6050507@cisco.com> 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
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A7471E.6050507>