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_at_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_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"Received on Wed Jul 25 2007 - 10:30:36 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC