From owner-freebsd-questions Sun Feb 25 8:22:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id AC61E37B401 for ; Sun, 25 Feb 2001 08:22:34 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 28592 invoked by uid 100); 25 Feb 2001 16:22:34 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15001.12618.148680.632155@guru.mired.org> Date: Sun, 25 Feb 2001 10:22:34 -0600 To: Bjarne Wichmann Petersen Cc: questions@freebsd.org Subject: Re: NOT-stripping ports-installation. In-Reply-To: <120598393@toto.iv> X-Mailer: VM 6.89 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\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bjarne Wichmann Petersen types: > On Sat, 24 Feb 2001 09:13:56 -0500 > "Matthew Emmerton" wrote: > > > > How do I compile and install *without* getting the binaries stripped? > > > > Add a STRIP="" line to your port's Makefile, or edit bsd.port.subdir.mk > > and > > change the "STRIP?=-s" line. > > Hmm... still no debugging-info. How do I get it to include that? You want to set CFLAGS. It's not clear that setting it in the port Makefile will carry through to the various submakes used in a port. Setting it in /etc/make.conf (see /etc/defaults/make.conf for more info) should work, though. http://www.mired.org/home/mwm/ 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