On Wed, May 20, 2009 at 12:07 AM, Dan Kegel <[email protected]> wrote:
> On Tue, May 19, 2009 at 6:29 AM, Bruno Causse <[email protected]> wrote:
>> when i use valgrind,
>> valgrind ./Roxane -h 24 -t 8 ../../fforum-20-39.src
>> valgring says "cannot execute binary file"
>>
>>   file Roxane
>>
>> Mach-O 64 bit executable X86-64
>>
>>   uname -a
>>
>> Darwin Kernel version 9.7.0 : "date"; root:xnu-1228.12.14~1/RELEASE_I386
>> i386
>
> That seems fine... although I have only used valgrind on 32 bit apps,
> can you try building Roxane as a 32 bit executable and see if that works 
> better?

It's not fine, it's a 64-bit executable but by default Valgrind-on-Mac
only handles 32-bits.  (This is because OS 10.5 builds everything as
32-bit by default, even though it's 64-bit capable.)

You can either build your executable as 32-bit, as Dan says, or
configure with --target=amd64-linux.  If you do the latter it may not
work, as it hasn't been tested for a while.

Nick

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to