[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] profiling instructions?
From: |
Georg-W. Koltermann |
Subject: |
Re: [Monotone-devel] profiling instructions? |
Date: |
Sun, 13 Feb 2005 23:16:45 +0100 |
Am Sonntag, den 13.02.2005, 18:31 +0100 schrieb Julio M. Merino Vidal:
> 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
Oh well, yes that was part of it, and I needed to re-run autoconf for
the latest version from monotone
(86d32c8a7766952af6bd891c2bbf5ae4cf5e3faa).
Thanks and I am sorry for the noise.
Now, how do I understand the profiling output... guess I'll post it in
my next email for the experts to take a look.
--
Regards,
Georg.