* Anyone using USL C++ Standard Components on Alpha?
@ 1994-11-16 21:21 Luke Ward
1994-11-19 12:02 ` Martin Bodenstedt
0 siblings, 1 reply; 2+ messages in thread
From: Luke Ward @ 1994-11-16 21:21 UTC (permalink / raw)
We're going to be porting some C++ code from an HP system to Alpha OSF/1
v3.0. The code is dependent on the USL C++ Standard Components library. I
have heard there have been some problems acclimating this to the Alpha and
DEC C++. Specifically:
- 64-bit architecture, sizeof(int) != sizeof(char*), size_t != int
- diffs between DEC C++ and cfront: template instantiation, source
file naming
Has anyone successfully gotten USL C++ Standard Components working with
DEC C++? If so, can you offer any war stories, time-to-port estimates,
diffs?!
Many thanks- Luke Ward
Blacksburg Electronic Village Development lukew@zappa.cns.vt.edu
Virginia Polytechnic Institute and State University (703)231-6026
Blacksburg, Virginia, USA 24061-0506
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Anyone using USL C++ Standard Components on Alpha?
1994-11-16 21:21 Anyone using USL C++ Standard Components on Alpha? Luke Ward
@ 1994-11-19 12:02 ` Martin Bodenstedt
0 siblings, 0 replies; 2+ messages in thread
From: Martin Bodenstedt @ 1994-11-19 12:02 UTC (permalink / raw)
> We're going to be porting some C++ code from an HP system to Alpha OSF/1
> v3.0. The code is dependent on the USL C++ Standard Components library. I
> have heard there have been some problems acclimating this to the Alpha and
> DEC C++. Specifically:
>
> - 64-bit architecture, sizeof(int) != sizeof(char*), size_t != int
> - diffs between DEC C++ and cfront: template instantiation, source
> file naming
>
> Has anyone successfully gotten USL C++ Standard Components working with
> DEC C++? If so, can you offer any war stories, time-to-port estimates,
> diffs?!
>
> Many thanks- Luke Ward
>
> Blacksburg Electronic Village Development lukew@zappa.cns.vt.edu
> Virginia Polytechnic Institute and State University (703)231-6026
> Blacksburg, Virginia, USA 24061-0506
>
Hi,
in a large inhouse project we've done the porting in the opposite
direction (from DEC C++ OSF/1 to HPUX) and discovered the following
problems:
the HP C++ Compiler is much stricter in the interpretation of the ARM,
but going zhe other direction should be a snap.
As long as You make no assumptions about the size and alignment of
data types (you pointed out out some examples already) there should be
no problems there.
The major difference is the instantiation of templates.
On DEC C++ you have to define a pragma macro for each and every
template signature you intend to use:
Example: #pragma templateClass <CONTAINER>;
You must include the source file for your container class and compile
the whole thing into one object module (this can take a while).
Some other differences are the number of libraries to include in the
makefile, but that should be relatively straight forward...
Good luck, Martin
BtW, my mail address at the office is Bodenstedt@suo.mts.dec.com
(guess who I work for...)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-11-19 12:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-16 21:21 Anyone using USL C++ Standard Components on Alpha? Luke Ward
1994-11-19 12:02 ` Martin Bodenstedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox