[Info-vax] OpenVMS books

John Reagan xyzzy1959 at gmail.com
Thu Jul 20 16:32:12 EDT 2017


On Thursday, July 20, 2017 at 2:08:13 PM UTC-4, Saifi Khan wrote:
> On Thursday, July 20, 2017 at 10:19:14 PM UTC+5:30, John Reagan wrote:
> > On Thursday, July 20, 2017 at 12:12:32 PM UTC-4, Saifi Khan wrote:
> > 
> > > 
> > > Any other pointers/links related to C/C++ programming on OpenVMS ?
> > > 
> > > 
> > > warm regards
> > > Saifi.
> > 
> > Are you on Alpha or Itanium?
> > 
> > The C compiler on both is technically C99 but the RTLs are missing a few things.
> > 
> > The C++ compiler on Itanium is C++98-ish.  The C++ compiler on Alpha is even older.
> > 
> > Keep this in mind if you cut-n-paste examples online to try on OpenVMS.
> 
> Hi john:
> 
> With Mark's help, i could get an account on decus.org
> 
> Guess i'm logged onto an OpenVMS Alpha V8.3
> 
> The compiler information is as follows,
> 
> $ cc /ver
> HP C V7.3-010 on OpenVMS Alpha V8.3  
> 
> My host machine is an AMD64 ASUS laptop running Arch Linux.
> 
> I have ssh'd to decus.org and no "cut-n-paste", as i'd like to read through the code and type it out myself, errors  and all. :-)
> 
> Could you elaborate, what you mean by "RTLs are missing a few things." ?
> 
> i understand a bit of glibc and libc stuff, so i should be able to follow you.
> 
> 
> warm regards
> Saifi.

The obvious stuff is:

- The C99 header "stdint.h" is missing
- The C99 header "fenv.h" is missing
- Various C99 required macros that should be in "inttypes.h" are missing (for example, PRIi32)
- The C99 required "printf/scanf" conversion specifier "F" is missing.
- The C99 required "printf/scanf" argument types "hh","t","j", and "z" are missing



More information about the Info-vax mailing list