Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: How to compile in DEBUG mode
Home

[Freeciv-Dev] Re: How to compile in DEBUG mode

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: How to compile in DEBUG mode
From: Gaute B Strokkenes <gs234@xxxxxxxxxxxxxxxx>
Date: 24 Jan 2001 16:16:23 +0000

On 22 Jan 2001, killesreiter@xxxxxxxxxxxxxxxxxxxxxx wrote:

> Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> 
>> ./configure --enable-debug=yes
>> 
>>      Raimar
>> 
>> P.S.: Could this be the default? I'm always forgetting it.
> 
> What difference would it make to the non-develloping user?
> 
> If these are only minimal, I would vote for yes. People who release
> binary-freecivs could switch it off.

I think that the best thing to do is to do as we do now by default,
and require an explicit argument to get full debug information, as we
do now.  This is consistent with what other Automake-ized software
packages do.

Usually, when I want to compile something with debug info I simply
override $(CFLAGS) on the make commandline, like this:

$ make CFLAGS="-ggdb"

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
Where's my SOCIAL WORKER?



[Prev in Thread] Current Thread [Next in Thread]