Kris Kennaway kris at obsecurity.org
Fri Apr 30 00:10:05 PDT 2004

On Fri, Apr 30, 2004 at 02:15:22AM -0400, Jason Lixfeld wrote:
> I've just installed gcc3.4 to, among other things take advantange of  
> the -march=opteron options.  I'm in quite a bit of a conundrum here  
> because I've installed, changed the order in $PATH to look in  
> /usr/local/bin before /usr/bin for gcc, cc etc but when I run a make  
> buildworld it fails saying it doen't recognize the -march=opterion  
> option.  This means that the old system version of gcc is still being  
> referenced somehow, even though I've set the paths:

This is intentional (the system compiler is rebuilt as part of the
buildworld process, and thereafter used explicitly).

You can't compile world with a compiler that is not the system
compiler, because it would fail with errors.  If you must have a world
compiled with gcc 3.x, you'll have to use the FreeBSD 5.x branch,
which uses gcc 3.x as the system compiler.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040430/4b6903c7/attachment.bin

More information about the freebsd-questions mailing list