* HELP...Compiling C Code on DUNIX with 32 bit longs in leu of the default 64
@ 1997-10-08 4:00 Michael Cesar
1997-10-09 4:00 ` Joe Mario
0 siblings, 1 reply; 2+ messages in thread
From: Michael Cesar @ 1997-10-08 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: HELP...Compiling C Code on DUNIX with 32 bit longs in leu of the default 64
1997-10-08 4:00 HELP...Compiling C Code on DUNIX with 32 bit longs in leu of the default 64 Michael Cesar
@ 1997-10-09 4:00 ` Joe Mario
0 siblings, 0 replies; 2+ messages in thread
From: Joe Mario @ 1997-10-09 4:00 UTC (permalink / raw)
To: mcesa
Michael Cesar wrote:
>
> 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?
The long datatype on DUNIX is only 64 bits. There is no way to
make it 32 bitsMichael Cesar wrote:
Joe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-10-09 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-08 4:00 HELP...Compiling C Code on DUNIX with 32 bit longs in leu of the default 64 Michael Cesar
1997-10-09 4:00 ` Joe Mario
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox