From owner-freebsd-ports Thu Dec 12 3:12:50 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7014E37B401 for ; Thu, 12 Dec 2002 03:12:48 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-228.dsl.lsan03.pacbell.net [64.169.104.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FC4A43E4A for ; Thu, 12 Dec 2002 03:12:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 9724566BE3; Thu, 12 Dec 2002 03:12:28 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 5A53113AB; Thu, 12 Dec 2002 03:12:16 -0800 (PST) Date: Thu, 12 Dec 2002 03:12:16 -0800 From: Kris Kennaway To: Bjarne Wichmann Petersen Cc: Jens Rehsack , freebsd-ports@FreeBSD.ORG Subject: Re: optimising portsbuilds? Message-ID: <20021212111215.GA98782@rot13.obsecurity.org> References: <200212081100.16539.freebsd.nospam@mekanix.dk> <3DF325FD.80803@liwing.de> <200212121041.45316.freebsd.nospam@mekanix.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <200212121041.45316.freebsd.nospam@mekanix.dk> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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