From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e4e1b66e78f97b04,start X-Google-Attributes: gid1164f8,public From: Michael Cesar Subject: HELP...Compiling C Code on DUNIX with 32 bit longs in leu of the default 64 Date: 1997/10/08 Message-ID: <343BEC51.1E29@AdvantageCS.com>#1/1 X-Deja-AN: 278787010 Reply-To: mcesa@AdvantageCS.com Organization: Advantage Computing Systems Newsgroups: comp.sys.dec We are porting VAX/NT alpha runable C code to DUNIX on a DEC AlphaServer 1000A 5/400 and having trouble with word size alignment. All the code is written expecting longs to be 32 bits but the alpha defaults to 64. We would like to find a way to compile using 32 byte longs. Does anybody know if the DEC C/C++ compiler 'cc' is capable of this? I have scoured the man pages to no avail. All input would be appreciated. -- Michael Cesar (mcesa@AdvantageCS.com) Senior Programmer Analyst, Advantage Computing Systems