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: Darwin for i386
Compiling fileio.pp
Assembling (pipe) fileio.s
Linking fileio
55 lines compiled, 1.9 sec
Darius-Blaszyks-Mac-mini:fileio dariusblaszyk$ valgrind --tool=callgrind 
./fileio
valgrind: ./fileio: cannot execute binary file


After googling I found some remark about adding a -m32 flag with GCC. Is this 
the same issue I have here? What is the remedy?

Regards, Darius_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to