From: Martin Bodenstedt <mbo@delos.s.bawue.de>
Subject: Re: Anyone using USL C++ Standard Components on Alpha?
Date: 19 Nov 1994 12:02:47 GMT [thread overview]
Message-ID: <3akphl$a39@delos.s.bawue.de> (raw)
In-Reply-To: 3adt5f$32p@solaris.cc.vt.edu
> 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...)
prev parent reply other threads:[~1994-11-19 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-16 21:21 Anyone using USL C++ Standard Components on Alpha? Luke Ward
1994-11-19 12:02 ` Martin Bodenstedt [this message]
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