From: jim@irvine.com (James Zarbock)
Subject: Need help investigating a port to a DEC AXP system running OSF/1
Date: Tue, 1 Nov 1994 19:45:14 GMT [thread overview]
Message-ID: <CyLtJE.734@irvine.com> (raw)
I am investigating porting C code to a DEC AXP 2000-300 that we
have in-house.
The "uname -a" report is "OSF1 alien.irvine.com V1.3 113.75 alpha".
The C code was basically written with the implicit assumption that the
types "int", "long" and "*" (pointer) were the same size. Of course,
well written code would not have made such an assumption.
It appears that in C on an Alpha which is a true 64 bit machine the
size of the type "int" is 4 bytes and the size of the type "*"
(pointer) is 8 bytes. Period.
Is there some sort of "32 bit compatibility mode" for the C compiler
that will make the C compiler make longs and pointers 4 bytes?
Does anyone have any pointers to any porting notes for an AXP and OSF/1.
Any comments or help whatsoever will be greatly appreciated.
-- jzarbock@irvine.com
--
James Zarbock
next reply other threads:[~1994-11-01 19:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-01 19:45 James Zarbock [this message]
1994-11-02 0:33 ` Need help investigating a port to a DEC AXP system running OSF/1 Dan Pop
1994-11-02 13:18 ` Dave Golden
1994-11-02 14:52 ` Alan Herrlich
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