Craig A. Berry <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
One OS to bring them all |
http://www.pdv-systeme.de/users/martinv/
And in the Darkness bind them.| home: [EMAIL PROTECTED]