Ok, that makes sense to me. I simply misread the instructions in the Quick 
Start Guide then. Thanks for the quick help!

Bram


-----Original Message-----
From: Alexander Potapenko [mailto:[email protected]] 
Sent: woensdag 9 september 2009 16:39
To: Hoof, B. van
Cc: [email protected]
Subject: Re: [Valgrind-users] Compilation of valgrind 3.5.0

I can't find the passage that recommends to compile Valgrind with -O0
In fact it's a bad idea because -O0 will lead to a performance loss.

The Quick Start Guide recommends to compile your own program with -g and -O0.

On Wed, Sep 9, 2009 at 6:31 PM, Hoof, B. van<[email protected]> wrote:
> Dear all,
>
>
>
> Because I am a new user, this is hopefully an easy question. In the Valgrind
> quick start guide, it says that it is wise to compile valgrind with -g and
> -O0. However, what should I do to accomplish this? It does not appear to be
> possible to give these options to my "make" command directly and if I should
> insert them somewhere in the Makefile created by running "./configure" I
> wouldn't know where to do it.
>
>
>
> If anyone would please help me, I would be most grateful.
>
>
>
> Kind regards,
>
> Bram van Hoof
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
>



-- 
Alexander Potapenko
Software Engineer
Google Moscow

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to