From: Kenneth Jacker <khj@cs.appstate.edu>
To: axp-list@redhat.com
Subject: Re: Porting hints
Date: 28 Aug 2001 10:07:47 -0400 [thread overview]
Message-ID: <e4rqsjn0s.fsf@be.cs.appstate.edu> (raw)
In-Reply-To: "Davies, Huw"'s message of "Tue, 28 Aug 2001 15:41:36 +0800"
huw> I'm attempting to port some software (a computer simulator)
huw> which runs under Intel Linux to my Alpha.
Before switching to AlphaLinux, I used DU/Tru64 for many years on my
AS255/300. I, too, had trouble getting a machine simulator
(spim/xspim) to run correctly. As others have suggested, the problem
was cause by the original authors assuming that ints/ptrs were 32 not
64 bits.
In particular, after many hours of debugging with 'gdb', I found the
problem: they had copied a negative, 32 bit value into a 64 bit
integer without proper (two's compl) sign extension.
The length dependencies are subtle and hard to find. But with
perseverance, you'll eventually succeed!
Good luck,
--
Prof Kenneth H Jacker khj@cs.appstate.edu
Computer Science Dept www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC 28608 USA
next prev parent reply other threads:[~2001-08-28 14:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-28 7:41 Porting hints Davies, Huw
2001-08-28 7:59 ` Gregor Maier
2001-08-28 14:07 ` Kenneth Jacker [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-08-28 14:11 Donsbach, Jeff
2001-08-29 5:44 Davies, Huw
2001-09-06 15:30 William H. Magill
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox