From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,669514ab3d2dbc39 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1014db,669514ab3d2dbc39 X-Google-Attributes: gid1014db,public From: Ron Natalie Subject: Re: Porting DOS C code to DEC Date: 1996/09/19 Message-ID: <324153F2.7EEA@sensor.com>#1/1 X-Deja-AN: 183941867 references: <51pqb5$gll@darla.visi.com> content-type: text/plain; charset=us-ascii organization: Sensor Systems mime-version: 1.0 newsgroups: comp.sys.dec,comp.lang.c x-mailer: Mozilla 2.01 (X11; I; HP-UX A.09.05 9000/755) 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