Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 03:12:16 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk>
Cc:        Jens Rehsack <rehsack@liwing.de>, freebsd-ports@FreeBSD.ORG
Subject:   Re: optimising portsbuilds?
Message-ID:  <20021212111215.GA98782@rot13.obsecurity.org>
In-Reply-To: <200212121041.45316.freebsd.nospam@mekanix.dk>
References:  <200212081100.16539.freebsd.nospam@mekanix.dk> <3DF325FD.80803@liwing.de> <200212121041.45316.freebsd.nospam@mekanix.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 12, 2002 at 10:41:45AM +0100, Bjarne Wichmann Petersen wrote:
> On Sunday 08 December 2002 11:59, Jens Rehsack wrote:
>=20
> > > Now I'd like to get the same kind of speed and responsiveness out of
> > > FreeBSD and Duron CPU. What should I parse into my /etc/make.conf to =
make
> > > ports?
> > >
> > > Bjarne
> >
> > make.conf(5) - and look into /etd/defaults/make.conf on 4.7-STABLE/RELE=
ASE
>=20
> Hmm, well yes. All I get from this is how to set the CPU-type and -O opti=
ons,=20
> which I'm already using (but not sure -03 is advisable?). But reading thr=
ough=20
> the gcc-manpages there is a whole list of various optimizationoptions tha=
t I=20
> haven't the slightest clue to what they do and whether it'll be smart to=
=20
> implement them?

In general it's not.  Settings above -O1 (aka -O) are also not
recommended for general purpose use because they sometimes produce
broken code (depending on gcc version and architecture).  Using
CPU-specific optimizations (set via CPUTYPE) is useful however.

Kris

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9+G8PWry0BWjoQKURAis7AJsF7v+T/1BUL6DFHXYz3tgTWtaCuACg3NG8
Ax72HBEEgE8zSrl8dbhTiCo=
=Bb6F
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021212111215.GA98782>