monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] profiling instructions?


From: Julio M. Merino Vidal
Subject: Re: [Monotone-devel] profiling instructions?
Date: Sun, 13 Feb 2005 18:31:41 +0100

On Sun, 2005-02-13 at 17:57 +0100, Georg-W. Koltermann wrote:
> Hi,
> 
> I was wondering why trivial operations like adding another file to my
> 5.000 file project taking so long and wanted to set up for profiling. I
> naively tried to simply compile with
> 
>         make CFLAGS=-pg CXXFLAGS=-pg

That's wrong.  Whenever you pass a variable to make in such way, it
_overrides_ any value it may have in the current makefile, hence
bypassing any other required argument.

The correct way to achieve what you want could be:

make distclean
./configure CFLAGS=-pg CXXFLAGS=-pg
make

HTH,

-- 
Julio M. Merino Vidal <address@hidden>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/





reply via email to

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