Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2746) Include debug setting in config.h
Home

[Freeciv-Dev] Re: (PR#2746) Include debug setting in config.h

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#2746) Include debug setting in config.h
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 7 Jan 2003 08:39:02 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Jan 07, 2003 at 04:44:38AM -0800, Gregory Berkolaiko via RT wrote:
> 
> On Tue, 7 Jan 2003, Raimar Falke via RT wrote:
> 
> > On Tue, Dec 24, 2002 at 02:34:15PM +0000, Per I. Mathisen wrote:
> > > On Tue, 24 Dec 2002, Christian Knoke wrote:
> > > > How can I get 'experimental' AIs? I recompiled with debug==yes, and
> > > > started civserver with debug 3, with no avail.
> > > 
> > > Make sure you recompile stdinhand.o (by deleting this file before
> > > recompile).
> > > 
> > >   # rm server/stdinhand.o; ./autogen.sh --with-debug=yes && make
> > > 
> > > should suffice. Then
> > > 
> > >   /create chris
> > >   /experi chris
> > > 
> > > should do the job.
> > 
> > This is necessary because we don't include the debug setting in
> > config.h (which we should). A patch should be easy.
> 
> The advantage is that the whole thing _automatically_ recompiles when you 
> change the debug settings.
> 
> The disadvantage is that the _whole_thing_ automatically recompiles when 
> you change the debug settings.
> 
> On the computer I have at home total recompile takes very long time...

Use ccache (you know the trade-time-with-memory thing). This isn't a
good reason to allow building bad code. If the speed was a problem we
wouldn't had config.h in every .c file.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The BeOS takes the best features from the major operating systems. 
  It's got the power and flexibility of Unix, the interface and ease 
  of use of the MacOS, and Minesweeper from Windows."




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