From owner-freebsd-questions Wed Jan 22 8:37:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93A8537B401 for ; Wed, 22 Jan 2003 08:37:50 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 8EAC443F1E for ; Wed, 22 Jan 2003 08:37:49 -0800 (PST) (envelope-from mwm-dated-1043685469.f29cf9@mired.org) Received: (qmail 24736 invoked from network); 22 Jan 2003 16:37:49 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 22 Jan 2003 16:37:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15918.51420.543091.954359@guru.mired.org> Date: Wed, 22 Jan 2003 10:37:48 -0600 To: David.Bear@asu.edu Cc: freebsd-questions@freebsd.org Subject: Re: to make or add a package In-Reply-To: <20030122091717.C6226@asu.edu> References: <20030122091717.C6226@asu.edu> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Text formatting corrected.] In <20030122091717.C6226@asu.edu>, David Bear typed: > I'm very impressed with the ports collection. [Pat jkh on the back, though it's a long reach from here.] > I have found there are two was to install a port, through pkg_add or > the make. I was wondering that if a port were a make, if the > compiler would do any optimizations on the final executable, > therefore giving me a faster/smaller/whatever application. Maybe > there would be no significant difference. But, if I have the time > to wait, is it worth it? You can set CFLAGS in /etc/make.conf, and those optimizations/machine types will be used at build time. Whether that makes a difference to you is up to you. You can also set build options to change the location where the executables live - though that tends to cause some ports to fail - or specify what parts of the package you do/don't want built. Personally, I always build from ports. If nothing else, having the source handy is worth a little extra time. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message