Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Need help investigating a port to a DEC AXP system running OSF/1
@ 1994-11-01 19:45 James Zarbock
  1994-11-02  0:33 ` Dan Pop
  1994-11-02 14:52 ` Alan Herrlich
  0 siblings, 2 replies; 4+ messages in thread
From: James Zarbock @ 1994-11-01 19:45 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-11-02 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-01 19:45 Need help investigating a port to a DEC AXP system running OSF/1 James Zarbock
1994-11-02  0:33 ` Dan Pop
1994-11-02 13:18   ` Dave Golden
1994-11-02 14:52 ` Alan Herrlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox