This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Building a 32bit version X86_64 multiprocessor Opteron platform.
- From: Keith Seitz <keiths at redhat dot com>
- To: Glenn Meyer <grmeyer at mail dot arc dot nasa dot gov>
- Cc: insight at sources dot redhat dot com
- Date: Wed, 21 Mar 2007 18:36:13 -0800
- Subject: Re: Building a 32bit version X86_64 multiprocessor Opteron platform.
- References: <4601DA13.6070805@mail.arc.nasa.gov>
Glenn Meyer wrote:
I'm getting some nonsensical results when I run insight on the 32-bit
executable I need to debug on my HP xw9300 system. The HP has two 64-bit
dual-core Opterons.
I'm assuming that the problem is that I'm running a 64-bit debugger on
32-bit code, and need to run a 32-bit debugger instead. I've tried using
"./configure i386," but when I do a make on the result, I the following.
"i386", "i386linux" and "elf32-i386" don't work.
Hmm. Wow: 32bit vs 64bit. I don't know much about this, but if you want
to configure the sources for a specific target, you must do two things:
1) use the "--target=" configure option
2) use a correct target triple. For x86 linux, that would be
"i386-pc-linux-gnu"
Try that and let me know what happens.
Keith