AMD64 optimization on FreeBSD 5.4 i386
Bachelier Vincent
vincent_bachelier at yahoo.fr
Tue Apr 5 00:46:19 PDT 2005
Ok, I have found the solution
CFLAGS += -march=k8
and use pkgtools.conf for certain application that doesn't support it.
gcc32 gcc33 fr-openoffice ...
doesn't the nvidia driver works on amd64 version of freebsd ?
ok see ya
Le Mon, Apr 04, 2005 at 06:54:00AM -0500, Conrad J. Sabatier a écrit:
> From: "Conrad J. Sabatier" <conrads at cox.net>
> Cc: freebsd-questions at freebsd.org
> To: Bachelier Vincent <vincent_bachelier at yahoo.fr>
> Date: Mon, 4 Apr 2005 06:54:00 -0500
> Subject: Re: AMD64 optimization on FreeBSD 5.4 i386
>
> On Mon, 4 Apr 2005 09:35:32 +0200, Bachelier Vincent
> <vincent_bachelier at yahoo.fr> wrote:
>
> > Hi, I have a AMD64 and use FreeBSD 5.4 i386.
>
> Why aren't you using the amd64 version of FreeBSD?
>
> > I have set CPUTYPE=k8 to optimize a little for my computer.
> > I have seen they set march=athlon-mp when it compile something.
>
> I you were running amd64, you could use CPUTYPE=athlon64.
>
> > Ok, I have see they is a difference between march=k8 and
> > march=athlon-mp
> >
> > Have a idea ?
>
> Yes, download the ISO for amd64 and install it. :-)
>
> > Does I compile with march=k8 under cflags ?
> > for example: CFLAGS=-O2 -march=k8 -pipe
> > CXXFLAGS=$CFLAGS
>
> I think the CXXFLAGS setting is unnecessary, as this will happen by
> default.
>
> > Well, what do you think ?
>
> I think you should be running amd64. :-)
>
> > could I optimize more than CPUTYPE=k8 ?
>
> Yes. See above. :-)
>
> Seriously, though, the amd64 version of FreeBSD is quite stable and
> usable, and would allow you to take full advantage of your machine's
> 64-bit architecture. Why settle for less?
>
> --
> Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"
--
Vincent Bachelier <vincent_bachelier at yahoo.fr>
Language : Francais / English
Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux
Citation (fortune):
The trouble with being punctual is that people think you have nothing
more important to do.
More information about the freebsd-questions
mailing list