Re: Cleaning up DEC-C includes



In article <44B73507.F0203037@xxxxxxxxxxxx>, JF Mezei <jfmezei.spamnot@xxxxxxxxxxxx> writes:
I seem to have mismatched version of the C compiler includes on my nodes.
This is on a node that used to have VAXC. But I have eliminated the
VAXC$COMPILER as well as changed the CC command to one which was on a
node which never had VAXC (to eliminate the VAXC option).
But I find out that I still have some vaxC stuff:
$ dir/nohead $disk1:[vms$common...]starlet.h
$DISK1:[VMS$COMMON.DECC$LIB.REFERENCE.DECC$RTLDEF]STARLET.H;1
$DISK1:[VMS$COMMON.DECC$LIB.REFERENCE.SYS$STARLET_C]STARLET.H;1
$DISK1:[VMS$COMMON.SYSLIB.VAXC$INCLUDE]STARLET.H;1

(this, on top of all the .TLBs which have copies too).

Is it OK to delete the whole SYSLIB.VAXC$INCLUDE directory and all the
files in it ? They seem to be very old ???

The DECC$LIB.REFERENCE files are the files extracted from the *.TLB files at
compiler installation time, optional, and for reference only.
DECC never uses them unless explicitly asked to (via /INCLUDE or some
DECC$*INCLUDE* logical).
You can safely delete all of them (and re-install with a newer compiler version
if You wish).

The VAXC$INCLUDE files can probably also be deleted since You removed the VAX C
compiler (but I no longer have a VAX to test it ).

--
Joseph Huber , Muenchen,Germany: http://www.huber-joseph.de/
.



Relevant Pages

  • Re: exit() values and the C standards?
    ... Perhaps their associated headers define EXIT_SUCCESS ... think VAXC defined EXIT_SUCCESS at all. ... and the pre-Standard VAXC wouldn't ... as a Standard-compliant compiler, ...
    (comp.lang.c)
  • Re: derangement: code review request
    ... The last time I actually worked on OpenVMS, we used both VAXC (on ... VAXen) and DECC (I advocated abandoning VAXC at ... The more general issue is this: Always pay attention to compiler ... Fixing your code doesn't mean tweaking it until the warning goes away, ...
    (comp.lang.c)
  • Cleaning up DEC-C includes
    ... I seem to have mismatched version of the C compiler includes on my nodes. ... This is on a node that used to have VAXC. ... And why are there two nearly identical directories ... And is there a way to ensure the compiler looks only in the .TLBs top ...
    (comp.os.vms)
  • Re: Why multiplication not allowed?
    ... > Not many years ago, I used a compiler (VAXC, I think) that allowed the ... prefered style of the programmer who wrote it. ... After the warnings, she ...
    (comp.lang.c)
  • Re: Why C dont allow the name of a variable start with a digit?
    ... So does VaxC if I recall correctly. ... I thought VMS was the actual operating system and that the VAX was the ...
    (comp.lang.c)