[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1434.0. "C++ compiler available in ODE build environment?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Apr 24 1995 15:10

Date Of Receipt: 	24-APR-1995 10:59:12.92
From: 	SMURF::WASTED::jsd "John Dustin"
To: 	karendz mwarren
CC: 	jsd odehelp
Subj: 	C++ compiler available in ODE build environment?

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

T.RTitleUserPersonal
Name
DateLines
1434.1Re: C++ compiler available in ODE build environment?AOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Apr 24 1995 16:1231
Date Of Receipt: 	24-APR-1995 11:20:50.31
From: 	SMURF::ALPHA::"vandyck@cardinal.zk3.dec.com" "24-Apr-1995 1119"
To: 	jsd@zk3.dec.com
CC: 	karendz@zk3.dec.com, mwarren@zk3.dec.com, odehelp@zk3.dec.com
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


1434.2Re: C++ compiler available in ODE build environment?AOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Apr 24 1995 16:1448
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 [sullivan@ohara.zko.dec.com] 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:    johnf@zk3.dec.com	
 MS: ZKO3-3/W20			decnet:  flambe::johnf
 USG Release Engineering		 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________