* 32-bit mode for cxx?
@ 1995-09-27 4:00 Adam J Ferrari
1995-09-29 4:00 ` Timothy M. Wieman
1995-10-09 4:00 ` Mark Charette
0 siblings, 2 replies; 4+ messages in thread
From: Adam J Ferrari @ 1995-09-27 4:00 UTC (permalink / raw)
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.
---
Adam J. Ferrari
ferrari@virginia.edu
http://www.cs.virginia.edu/~ajf2j/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32-bit mode for cxx?
1995-09-27 4:00 32-bit mode for cxx? Adam J Ferrari
@ 1995-09-29 4:00 ` Timothy M. Wieman
1995-09-30 4:00 ` Dirk Grunwald
1995-10-09 4:00 ` Mark Charette
1 sibling, 1 reply; 4+ messages in thread
From: Timothy M. Wieman @ 1995-09-29 4:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32-bit mode for cxx?
1995-09-29 4:00 ` Timothy M. Wieman
@ 1995-09-30 4:00 ` Dirk Grunwald
0 siblings, 0 replies; 4+ messages in thread
From: Dirk Grunwald @ 1995-09-30 4:00 UTC (permalink / raw)
Yes, the -xtaso optioon is supported in DEC C++ V5, (package cxx500)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 32-bit mode for cxx?
1995-09-27 4:00 32-bit mode for cxx? Adam J Ferrari
1995-09-29 4:00 ` Timothy M. Wieman
@ 1995-10-09 4:00 ` Mark Charette
1 sibling, 0 replies; 4+ messages in thread
From: Mark Charette @ 1995-10-09 4:00 UTC (permalink / raw)
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.
In C++ v5.0 and above the -taso switch will ensure running in the lower
address half, along with using the -xtaso switch & pragmas for using
32-bit pointers. Read the man pages & bookreader docs for 5.0 and above
for more specific information.
Also, not converting the code to be 64-bit clean is just prolonging the
inevitable. I'd recommend biting the bullet now if possible.
--
Mark Charette charette@mika.com
MIKA Systems, Inc
17197 N. Laurel Park Dr Suite 115
Livonia, MI 48152
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-10-09 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-27 4:00 32-bit mode for cxx? Adam J Ferrari
1995-09-29 4:00 ` Timothy M. Wieman
1995-09-30 4:00 ` Dirk Grunwald
1995-10-09 4:00 ` Mark Charette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox