develooper Front page | perl.vmsperl | Postings from June 2002

RE: [PATCH: RC2] add getppid() to vmsperl

Thread Previous | Thread Next
Martin Vorlaender
June 27, 2002 05:09
RE: [PATCH: RC2] add getppid() to vmsperl
Message ID:
Craig A. Berry <> wrote:
> Martin Vorlaender wrote:
> >We do in fact have VAX C and DEC C on that VAX, so there are header
> >files in SYS$LIBRARY: - but doesn't DEC C take its headers from the
> >.TLBs?
> In general, yes, but where the compiler chooses to search for
> include files is a very complicated business.  It's highly
> which means highly prone to break packages that make assumptions about
> the configuration.

Give that man a cigar! Because SYS was defined (systemwide!) to
including <sys/stat.h> grabbed the old VAX C header file.

> Compiler listings are the only way to really know what
> include files the compiler is seeing.  If you have time
> to generate them, send them to me off
> list and I'll see what I can find out.

Following that advice and looking into the .LIS file myself I saw

 I1        7837 #ifdef I_SYS_STAT
 I1        7838 #   include <sys/stat.h>
       E              (decc$$gl___isclocale)SYS$COMMON:[SYSLIB]STAT.H;1
       E              (decc$$gl___isclocale)SYS$COMMON:[SYSLIB]STAT.H;1


Right now the build is humming along - it could take a while, though:
this is a VAXstation 4090 with 64MB RAM...

One OS to rule them all       | Martin Vorlaender    VMS & WNT
One OS to find them           | work:
One OS to bring them all      |
And in the Darkness bind them.| home:

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About