This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Compiling in 64 bits
- From: David Haworth <dave at fen-net dot de>
- To: insight at sources dot redhat dot com
- Date: Thu, 6 Mar 2008 18:54:37 +0100
- Subject: Re: Compiling in 64 bits
- References: <000b01c87f9e$25edc940$71c95bc0$@net>
Hi Walther,
On Thu, Mar 06, 2008 at 09:24:11AM -0600, Walther wrote:
> I am receiving an error compiling in a 64 AMD linux machine
> Did you have a problem before?
> The problem is with a casting of a pointer to integer (I think instead of a
> long in 64 bits)
> Instead of start changing the software I would like to know if you have
> compiled it in 64 bits before..
> Do you have the source code for the 64 bits edition?
I had the same problem a while ago (compiling on amd64 for an ARM
target). The problem seems to be with how some of the GUI stuff passes
parameters around using the wrong types. I tried to fix the problem
by changing a few local types and typecasting. I managed to get
insight to compile but it still doesn't run properly, so I fear there
might be other problems in the GUI or even in the tcl subsystem.
I posted to the list but didn't get a reply. At the time the list was
very quiet - it seems a lot more active now, so maybe you'll have
better luck.
FWIW the underlying gdb appears to work fine (at least, for the
qemu ARM target I was playing with). It's just the GUI.
I haven't had much time to play recently, but I planned to work around the
problem by copying the build from a 32-bit machine, where insight
builds and runs without problems.
Sorry I can't be more help.
Dave