| Date Of Receipt: 24-APR-1995 11:20:50.31
From: SMURF::ALPHA::"[email protected]" "24-Apr-1995 1119"
To: [email protected]
CC: [email protected], [email protected], [email protected]
Subj: Re: C++ compiler available in ODE build environment?
It exists in the tools space of platinum and the libs are produced in ptos and
exist in exports. The compiler itself does not exist in the pool, as the src
comes from the C++ group.
-Grant
| Who can tell me whether the C++ compiler is available in
| the ODE build environment? I plan to add some C++ source
| files to the source pool, and I need example Makefiles which
| use C++ rules, etc.
|
| Everyone I ask says Sure, that's available. But I have yet to
| actually find it and make use of it, which leads me to believe
| it doesn't exist.
|
| Thanks,
|
| John
-Grant
|
| Date Of Receipt: 24-APR-1995 11:40:59.56
From: SMURF::FLUME::johnf "John Flanagan USG Test Johnf Tools Group 24-Apr-1995 1139"
To: John Dustin <jsd@DEC:.zko.flume>
CC: karendz@DEC:.zko.flume, mwarren@DEC:.zko.flume, odehelp@DEC:.zko.flume,
johnf@DEC:.zko.flume
Subj: Re: C++ compiler available in ODE build environment?
The C++ compiler is indeed available in all the Platinum trees.
./alpha_OSF1/alpha/acc/usr/bin/cxx
As for using the rules and Makefiles in the base side, you're breaking new
ground, as nothing in the base currently uses it. The ptcde tree uses c++
extensively, but they use Imake and have a lot of tailored c++ rules which came
from the CDE consortium. There currently aren't any built in suffix rules
for C++ files [.C and .cxx] so you'll need to construct your own compilation
line in the makefile, using cxx as the compiler. Note that there is no built
in rule as there is for cc [where you can use ${CC} to get the compiler}.
You'll have to say cxx . Also, the -std0 flag is not compatible with the
c++/cxx compiler, so you will also probably have to construct your own CFLAGS
in the Makefile.
CFLAGS = all the default switches but without -std0.
A good point of contact would be Tom Peterson, who made extensive changes to
header files to make them C++/SPEC1170 comliant. Also, Jeff Sullivan from
the C++ group [[email protected]] would also be a good contact.
Hope this helps. Let us know if you need more help further down the line...
John
______________________________________________________________________
John Flanagan enet: [email protected]
MS: ZKO3-3/W20 decnet: flambe::johnf
USG Release Engineering (603) 881-1719
110 Spitbrook Road (DTN) 381-1719
Nashua, NH
______________________________________________________________________
|