|
From: Esben M. H. <kd...@mo...> - 2005-01-19 17:28:43
|
On Wednesday 19 January 2005 07:44, Bryan O'Sullivan wrote: > On Tue, 2005-01-18 at 17:00 -0800, Wayne Christopher wrote: > > I know that valgrind will not run (yet) on the Opteron in 64-bit mode. > > But I am trying to compile it on a SuSE 9.1 machine as a 32-bit > > executable. I tried (after some trial and error): > > > > ./configure --build=ix86-pc-linux > > make CFLAGS=-m32 CCASFLAGS=-m32 LDFLAGS=-m32 > > > > but I still get errors about 64-bit libraries contaminating the links. > > Before I delve any deeper into the makefiles, has anybody gotten this to > > work, or is there a reason it's impossible? > Go to Gentoo's forums (forums.gentoo.org) and look in the Athlon forum. I'm sure I saw explicit instruction on how to do this there. Yes, Gentoo'ers really do that sort of thing :) In general, the idea is to make a chroot'ed 32-bit environment with all the libraries you need, and built it there. -- regards. Esben |