I am using Ubuntu 25.10 running in a WSL2 box on win 10.


Didn't realize I needed to rebuild after installing 32bit runtime.  All is
looking much better. Except now I have to debug our tool running on 32
bits. 😊



Thanks, Mark



-----Original Message-----
From: Paul Floyd via Valgrind-users <[email protected]>
Sent: Friday, January 16, 2026 12:55 PM
To: [email protected]
Subject: Re: [Valgrind-users] set up Valgrind for multiple targets





On 2026-01-16 21:05, Mark Roberts wrote:

> I'd like to be able to use Valgrind on both x86 and x86-64 binaries

> running on my x64-64 linux system.  I quite familiar with building and

> using Valgrind on X86-64 binaries, we use Valgrind as the framework to

> build our DynComp tool to do comparability analysis and type inference

> of C/C++ programs.  I would like to do the same for x86 binaries, but

> I am unsure of the process to setup a secondary target.

>

Hi Mark



What OS are you using?



At the moment I mainly use FreeBSD amd64, Fedora Linux amd64 and a bit of
openSUSE amd64.



For systems where I have the full 32bit subsystem installed then all I have
to do is run



configure.



Autoconf should detect both amd64 and x86 and build both of them.



So really all that you need to to is to install the x86 libc. You need the
x86 C++ standard lib if you want to run the regression tests.



openSUSE has removed the x86 startup file from gcc so it can no longer
build x86 binaries (it will still run them). So in some cases you may need
to build a compiler for the platform.



Regards



Paul









_______________________________________________

Valgrind-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/valgrind-users
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to