|
From: Tom H. <to...@co...> - 2005-08-19 12:47:43
|
In message <200...@gm...>
Dirk Mueller <dm...@gm...> wrote:
> On Friday 19 August 2005 05:53, Christian Parpart wrote:
>
>> I don't know wether this is easily achievable by RHEL/FC too. But this way
>> I tested my apps being 32bit compiled (on a 64bit host)
>
> Most serious Linux distributions allow usage of 32bit applications in the same
> system like 64bit applications, but for this valgrind needs to be compiled
> with 32 and 64 bit mode enabled. Thats currently impossible.
It's not impossible, just a little tricky ;-)
If you have a 32 bit machine available you can build on that which
gives you a 32 bit valgrind (in /usr/lib) then build on a 64 bit
machine which gives you a 64 bit valgrind (in /usr/lib64) then install
them both on a 64 bit machine, rename /usr/bin/valgrind from each to
something else and write a shell script to decide which one to start.
That's what I did for our local RPMs anyway. It isn't ideal though and
has certain problems so we do need a better solution.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|