Date: Mon, 14 Nov 2005 11:22:49 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Michael Nottebrock <lofi@freebsd.org> Cc: Norikatsu Shigemura <nork@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG Message-ID: <20051114102248.GS69544@pcwin002.win.tue.nl> In-Reply-To: <200511131914.28559.lofi@freebsd.org> References: <200511130038.jAD0cgLb043746@sakura.ninth-nine.com> <20051113145814.GA74866@nagual.pp.ru> <20051113151131.GG69544@pcwin002.win.tue.nl> <200511131914.28559.lofi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--E0h0CbphJD8hN+Gf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 07:14:15PM +0100, Michael Nottebrock wrote: > On Sunday, 13. November 2005 16:11, Stijn Hoop wrote: > > I totally agree with that; it's just that having 127 _unobviously_ > > named DEBUG knobs is also totally useless. > > > > E.g., for audio/arts, do I need to set 'WITH_KDE_DEBUG=3Dyes' to get > > debugging symbols? I don't know and I can't quickly look it up. >=20 > Indeed you do and indeed you can't.=20 >=20 > However, I don't consider the latter to be a real pressing problem - afte= r=20 > all, we're talking about compiling a piece of software in a way that=20 > facilitates *debugging* - it's bad enough when I (as a kde maintainer) se= e no=20 > other choice but to tell you, the user (when you've reported a problem - = say=20 > a crash - to me), to recompile the whole damn thing with some switch inte= nded=20 > for developers so I can figure out what the problem is. OK, I agree that it should be unnecessary for 'normal' users to want to do this. That doesn't preclude standardization of the switch name though. I thought of one scenario that the WITH_<portname>_DEBUG scheme is not good for: debugging the whole of KDE for example. It would really be a regression if you couldn't do 'make WITH_KDE_DEBUG=3Dyes install' in x11/kde3 anymore without all of WITH_ARTS_DEBUG=3Dyes, WITH_KDELIBS3_DEBUG= =3Dyes, etc etc. So 'global' knobs like 'WITH_KDE_DEBUG' should also still be kept, I guess. > > Michael's proposal for 'WITH_<portname>_DEBUG' is ultimately the way > > to go. >=20 > I don't deserve the credit for that idea (I don't really remember who cam= e up=20 > with it, IIRC obrien@). ;-) Ah, ok. The OPTIONS_<portname> scheme also sounds like a good idea. --Stijn --=20 If today is the first day of the rest of your life, what the hell was yesterday? --E0h0CbphJD8hN+Gf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeGV4Y3r/tLQmfWcRAqJfAKCYBR7SG6SXtKuqqDL0uaC+Uc9FxwCaA6uQ 2yh1hgjnR9gf2pqK3ayaPrU= =To+C -----END PGP SIGNATURE----- --E0h0CbphJD8hN+Gf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051114102248.GS69544>