Re: [fpc-pascal] Problems with valgrind

2012-10-15 Thread Darius Blaszyk
On Oct 15, 2012, at 3:06 PM, Jonas Maebe wrote: > You may want to look at the Instruments application that comes with Xcode > though. That one offers a lot of different profiling options based on > performance counters and sampling. What command line options does this need? I tried a number of

Re: [fpc-pascal] Problems with valgrind

2012-10-15 Thread Darius Blaszyk
On Oct 15, 2012, at 3:06 PM, Jonas Maebe wrote: > > On 15 Oct 2012, at 14:08, Darius Blaszyk wrote: > >> I'm trying to use valgrind for the first time seriously to profile my app. >> See output from console below; >> > [snip] >> After googling I found some remark about adding a -m32 flag with

Re: [fpc-pascal] Problems with valgrind

2012-10-15 Thread Jonas Maebe
On 15 Oct 2012, at 14:08, Darius Blaszyk wrote: > I'm trying to use valgrind for the first time seriously to profile my app. > See output from console below; > [snip] > After googling I found some remark about adding a -m32 flag with GCC. Is this > the same issue I have here? No, because -m32

[fpc-pascal] Problems with valgrind

2012-10-15 Thread Darius Blaszyk
Hi, I'm trying to use valgrind for the first time seriously to profile my app. See output from console below; Darius-Blaszyks-Mac-mini:fileio dariusblaszyk$ fpc -gv fileio.pp Free Pascal Compiler version 2.7.1 [2012/05/18] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS