[comp.unix.aix] C++ on RS/6000

lalonde@qucis.queensu.CA (Paul Lalonde) (03/29/91)

Does anyone know of C++ compilers for the RS/6000?  Or a C++ to C converter?
Or even a C++ to C converter that I could port...  g++ would be nice but
I'm told gcc doesn't have a back end for the RS/6000.  Is this still true?

		Thanks,

			Paul

 Paul A. Lalonde	 	Internet: lalonde@qucis.queensu.ca
 Home Phone: (613)546-4713	Work Phone: (613)545-7100

	"The only true law is that which leads to freedom"
			- Richard Bach, _Jonathan Livingston Seagull_

umh@vax5.cit.cornell.edu (03/31/91)

In article <1322@qusuna.queensu.CA>,
lalonde@qucis.queensu.CA (Paul Lalonde) writes:
> Does anyone know of C++ compilers for the RS/6000?  Or a C++ to C converter?
> Or even a C++ to C converter that I could port...  g++ would be nice but
> I'm told gcc doesn't have a back end for the RS/6000.  Is this still true?
>
>              Thanks,
>
>                      Paul
>
>  Paul A. Lalonde             Internet: lalonde@qucis.queensu.ca
>  Home Phone: (613)546-4713   Work Phone: (613)545-7100
>
>      "The only true law is that which leads to freedom"
>                      - Richard Bach, _Jonathan Livingston Seagull_
We use ATT C++ (cfront) on our RS/6000. A binary license for that cost us only
$25 per CPU (!!best bargain on earth) but maybe that's an educational price
only? I know when we got the C++ about 8 months ago someone had to do some work
to get the ATT sources to compile on the RS/6000 but that's been done now, and
I would guess ATT have added the ifdefs to the source. I didn't handle the
paperwork for this, so I can't give names and such, but I'm sure if you call
ATT you'll eventually find someone who can tell you about this product.

Maynard Handley
Cornell University
maynard@helios.tn.cornell.edu

jona@iscp.Bellcore.COM (Jon Alperin) (04/01/91)

In article <1991Mar31.062504.3750@vax5.cit.cornell.edu>, umh@vax5.cit.cornell.edu writes:
|> In article <1322@qusuna.queensu.CA>,
|> lalonde@qucis.queensu.CA (Paul Lalonde) writes:
|> > Does anyone know of C++ compilers for the RS/6000?  Or a C++ to C converter?
|> > Or even a C++ to C converter that I could port...  g++ would be nice but
|> > I'm told gcc doesn't have a back end for the RS/6000.  Is this still true?
|> >
|> >              Thanks,
|> >
|> >                      Paul
|> >
|> >  Paul A. Lalonde             Internet: lalonde@qucis.queensu.ca
|> >  Home Phone: (613)546-4713   Work Phone: (613)545-7100
|> >
|> >      "The only true law is that which leads to freedom"
|> >                      - Richard Bach, _Jonathan Livingston Seagull_

I have been supporting a number of developers using Gloceknspiel C++ from
Oasys on the RS/6K. Since I cannot comment of the product itself, I would
warn anyone using it about 2 things:

1. Glok. uses .hxx as the extension to C++ header files, which does not
make for portable code. 

2. AIX header files contain "new", "class", etc. and must be modified. This is
not something I feel real comfortable doing, since they are forgotten about 
during upgrades and always cause problems immediately afterwards.

-- 
Jon Alperin
Bell Communications Research

---> Internet: jona@iscp.bellcore.com
---> Voicenet: (908) 699-8674
---> UUNET: uunet!bcr!jona

* All opinions and stupid questions are my own *