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

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

Thread Previous | Thread Next
From:
Martin Vorlaender
Date:
June 27, 2002 05:09
Subject:
RE: [PATCH: RC2] add getppid() to vmsperl
Message ID:
63866c6317cab06a5528aeac88d0826d3d1afecf@pdv-systeme.de
Craig A. Berry <craigberry@mac.com> 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
configurable,
> which means highly prone to break packages that make assumptions about
> the configuration.

Give that man a cigar! Because SYS was defined (systemwide!) to
SYS$LIBRARY:,
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
*/

Bingo!

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

Thanks,
  Martin
--
One OS to rule them all       | Martin Vorlaender    VMS & WNT
programmer
One OS to find them           | work: mv@pdv-systeme.de
One OS to bring them all      |
http://www.pdv-systeme.de/users/martinv/
And in the Darkness bind them.| home: martin@radiogaga.harz.de


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About