|
From: Bryan O'S. <bo...@se...> - 2005-01-19 07:44:57
|
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? I don't think anyone has tried. It is not possible (without moderate to severe pain) to build some 32-bit programs on Opteron machines running 64-bit distros due to include file conflicts that preclude installing the 32-bit devel packages. Whether or not this is the case for valgrind remains to be seen. By the way, you should be passing the CFLAGS and friends to configure, not to make. <b |