Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Ron Natalie <ron@sensor.com>
Subject: Re: Porting DOS C code to DEC
Date: 1996/09/19	[thread overview]
Message-ID: <324153F2.7EEA@sensor.com> (raw)
In-Reply-To: 51pqb5$gll@darla.visi.com


There is no difference between ANSI C on these platforms.
The problem is that people rarely adhere to ANSI C in a
meaningful way.

Anyhow things to watch out for:

Pointers are 64 bits on the Alpha and by default on UNIX
they put stuff in the high 32 bits, so be careful with
pointer kludges.

Longs are 64 bits, ints are 32.

There are no "near" and "far" specifiers on the DEC.

C really doesn't include much library definition.  This
is handled by other standards.  Things that DOS just took
from the UNIX implementations, probably will work, others
may be completely different.

-Ron



      parent reply	other threads:[~1996-09-19  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-18  4:00 Porting DOS C code to DEC Bill Haverberg
1996-09-19  4:00 ` Theo Vosse
1996-09-19  4:00   ` Szu-Wen Huang
1996-09-19  4:00 ` Ron Natalie [this message]
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