From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Debugging and source code Date: Wed, 25 Jan 2017 21:41:09 +0100 Message-ID: <20170125214109.7b62a627@scratchpost.org> References: <20170125065343.GB6221@mail.thebird.nl> <877f5jxoif.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWUNe-0007B2-LT for guix-devel@gnu.org; Wed, 25 Jan 2017 15:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWUNc-0008HH-3K for guix-devel@gnu.org; Wed, 25 Jan 2017 15:41:22 -0500 In-Reply-To: <877f5jxoif.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Hi, On Wed, 25 Jan 2017 14:22:48 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Pjotr Prins skribis: >=20 > > Since we allow for debug symbols using :debug (great feature!),=20 Aha? Why's that not available in our icecat package? I have to find out how= it's done elsewhere and copy it :) > You can always get the right source code by running =E2=80=9Cguix build -S > package=E2=80=9D. >=20 > OTOH having the source directly in the =E2=80=9Cdebug=E2=80=9D (or =E2=80= =9Csource=E2=80=9D?) output as > you suggest would be more convenient. >=20 > The only downside is the extra size of the =E2=80=9Cdebug=E2=80=9D output= . Most of the > time that=E2=80=99s a price people are happy to pay when they are install= ing the > =E2=80=9Cdebug=E2=80=9D output. But sometimes maybe not. Ahhh that's a difficult call. I think it would be best if we collected some= statistics before we decided that. For example how big is the source code = of a package versus the binary? On average? Depending on the language? How = many % of the total size is the source code?