From: Gregor Maier <gregor.maier@newlogic.com>
To: axp-list@redhat.com
Subject: RE: Porting hints
Date: Tue, 28 Aug 2001 09:59:53 +0200 (MEST) [thread overview]
Message-ID: <XFMail.20010828095953.gregor.maier@newlogic.com> (raw)
In-Reply-To: <5AD7782D2FB2D11183CE0000F8023ACD04C4D1D4@meoexc1.meo.cpqcorp.net>
On 28-Aug-2001 Davies, Huw wrote:
> Hi,
>
> I'm attempting to port some software (a computer simulator) which runs under
> Intel Linux to my Alpha. (The fastest Intel box I have is 166MHz so I
> suspect the alpha will be a little quicker :-). I can confirm that the
> software runs on Intel but "works" significantly differently on Alpha (works
> implies the user interface seems to start but the application loops rather
> than runs).
>
> I have done some simple "eye" checks on the code and nothing obvious appears
> wrong. I have tried using both gcc and ccc and get more warnings with ccc
> (mainly casts). Are there any pointers to information about solving this - I
> suspect either an initialisation or possibly a data alignment assumption.
> I'm trying to avoid understanding all the code, but if that's the next step
> so be it!
>
Mayb this will help.
the problem could be the int datatype in C. The width of an int (number of
bits) in C is equal to the processor's register width (i.e. 32 on Intel and 64
and alpha)
maybe there's some similiar problem with pointers (i.e. storing pointers in 32
bit integers combined with some fancy typecasts, ...)
Gregor
----------------------------------
E-Mail: Gregor Maier <gregor.maier@newlogic.com>
Date: 28-Aug-2001
Time: 09:51:06
----------------------------------
next prev parent reply other threads:[~2001-08-28 8:00 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 [this message]
2001-08-28 14:07 ` Kenneth Jacker
-- 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