|
From: Hoof, B. v. <B.v...@tu...> - 2009-09-09 14:31:42
|
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 |
|
From: Alexander P. <gl...@go...> - 2009-09-09 14:39:02
|
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<B.v...@tu...> 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 > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > -- Alexander Potapenko Software Engineer Google Moscow |
|
From: Hoof, B. v. <B.v...@tu...> - 2009-09-09 14:59:20
|
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:gl...@go...] Sent: woensdag 9 september 2009 16:39 To: Hoof, B. van Cc: val...@li... 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<B.v...@tu...> 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 > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > -- Alexander Potapenko Software Engineer Google Moscow |
|
From: Tom H. <to...@co...> - 2009-09-09 14:45:03
|
On 09/09/09 15:31, Hoof, B. van wrote: > 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. That is talking about how to compile your program, not how to compile valgrind. Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |