HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

gcc and g++ for VMS

 
Geoff Bryant
Advisor

gcc and g++ for VMS

I did some searching, but haven't found what I'm looking for. Anyone have pointers for gcc and g++ built for VMS?
7 REPLIES
David B Sneddon
Honored Contributor

Re: gcc and g++ for VMS

Geoff,

The following may be of some help (you don't mention
whether it is for VAX or Alpha).

http://www.tmk.com/ftp/vms-freeware/gcc-for-alpha/

Regards
Dave
Kris Clippeleyr
Honored Contributor

Re: gcc and g++ for VMS

Hi Geoff,

Found a pointer
http://www.sunsite.ualberta.ca/Documentation/Gnu/gcc-3.0.2/html_node/gcc_toc.html#SEC_Contents
This would indicate that the Gnu CC 3.0.2 has been ported to VMS (no mention of architecture though).
www.gnu.org does not mention VMS at all.
And if I'm not mistaken, there is a version of gcc in the GNV (downloadable from HP website)
( http://h71000.www7.hp.com/opensource/gnvreadme_first.html )

Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
David B Sneddon
Honored Contributor

Re: gcc and g++ for VMS

Kris,

It would appear that the gcc command in GNV is just a wrapper
that invokes the CXX compiler.

From the GNV link...
* g++ added to GNV wrapper
The wrapper utility processes UNIX-style compile and link (and related) commands. It reads commands such as the UNIX cc command and invokes the appropriate OpenVMS DCL command.
For this release, g++ has been added as a synonym for cxx . This matches the gcc command to invoke the C++ compiler.

This would require a CXX compiler license. The only
reference to VMS I could see at the GNU site was
that the port to alpha-vms was a work in progress.

Geoff, if you have a hobbyist system, you can use
the C++ compiler from HP. Are you looking for gcc
for any specific reason?

Regards
Dave
Andreas Fassl
Frequent Advisor

Re: gcc and g++ for VMS

Hi Geoff,

we ported GNU-C/c++ awhile ago. But efforts needed to maintain the port and no real commercial interest (most people using C/C++ for a production environment do use the really good HP-C-Compiler) we decided to stop maintaining and supporting the port.

I will have a look at it again, when our ia64-openVMS-System is up and running.

Regards

Andreas
Craig A Berry
Honored Contributor

Re: gcc and g++ for VMS

There is a very old gcc for VAX floating around somewhere but I don't think there is anything current that is freely downloadable. This question comes up pretty frequently and the only evidence I've seen of an actively maintained gcc is what the GNAT Ada people have behind the scenes in order to support their Ada product. See:

http://www.adacore.com/

It's not terribly practical to buy a commercial Ada product in order to get a free C compiler, and I'm not even sure all the pieces such as libraries are included. Was there anything about gcc in particular that you wanted other than its being free?
Geoff Bryant
Advisor

Re: gcc and g++ for VMS

Thanks everyone.

This is for commercial interest for porting some code to the AXP, so we do need something that will work. I think I will look at GNV.

We should have a C++ license that I'll go dig up for this.
Andreas Fassl
Frequent Advisor

Re: gcc and g++ for VMS

Hi Geoff,

the easiest way to "dig up" a c++ license is to get a registered DSPP member. For a very moderate yearly fee you'll get not only c++ for OpenVMS, you'll get all the licenses for all the products you'll find on the Condist CDs.

Regards

Andreas