Date: Mon, 2 Aug 2010 15:38:31 +0200 From: Roland Smith <rsmith@xs4all.nl> To: freebsd-questions@freebsd.org Subject: Re: Setting Debug flag in /etc/make.conf Message-ID: <20100802133831.GA88816@slackbox.erewhon.net> In-Reply-To: <20100801072824.0a3989bf@scorpio> References: <20100801072824.0a3989bf@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
--1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2010 at 07:28:24AM -0400, Jerry wrote: > I have been having problems with several different programs lately. > Would there be any serious drawback to simply setting: "WITH_DEBUG=3D " > in the /etc/make.conf file to force everything I build/rebuild to be > built with debug symbols?=20 No. You are assuming every program's Makefile uses WITH_DEBUG that way! The ba= se system doesn't for one. And neither do all ports. To look for yourself, use the following command; find /usr/ports/ -type f -name Makefile -exec grep -H DEBUG {} \; While a lot use WITH_DEBUG, not all ports do, and some use other options, l= ike NODEBUG or DEBUGFLAGS, or DEBUGGING. You'd have to look into the programs in question to see how to enable debugging for those. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxWylYACgkQEnfvsMMhpyVqDQCfenyskAnnXcovCRClvfnRhHCy RCMAnjO6bgzGOSEclCClHZruVUpBJ/YH =mf0R -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100802133831.GA88816>