Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: timw@isac.hces.com (Timothy M. Wieman)
Subject: Re: 32-bit mode for cxx?
Date: 1995/09/29	[thread overview]
Message-ID: <1995Sep29.223607.24753@isac.hces.com> (raw)
In-Reply-To: DFKHx6.7y9@murdoch.acc.Virginia.EDU

Adam J Ferrari (ajf2j@uvacs.cs.Virginia.EDU) wrote:

: Is there a "32-bit" mode or some similar feature for the cxx
: C++ compiler. I would like to ensure that all pointers fit
: within 4 bytes instead of the 8 usually required on the alpha.
: I'm less concerned about longs fitting in 4 bytes. Thx in advance
: for any tips.

'cc' has the flags '-taso' and '-xtaso_short' which will give you 32 bit
pointers.  For the longs, I recommend typedef'ing 'Long' (or something
similar) to 'int' and then globally replace 'long' with 'Long'.

We don't have the C++ compiler, so I don't know if this holds true for
it.

Tim
-- 
------------------------------------------------------------------------
   Timothy M. Wieman    |       Software Engineer
                        |
     timw@hces.com      |       PACE Health Management Systems, Inc.



  reply	other threads:[~1995-09-29  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-27  4:00 32-bit mode for cxx? Adam J Ferrari
1995-09-29  4:00 ` Timothy M. Wieman [this message]
1995-09-30  4:00   ` Dirk Grunwald
1995-10-09  4:00 ` Mark Charette
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