1 message in com.perforce.jamming[jamming] Header scan caching under VMS?
FromSent OnAttachments
joha...@esrange.ssc.se25 Jun 2003 06:32 
Subject:[jamming] Header scan caching under VMS?
From:joha...@esrange.ssc.se (joha@esrange.ssc.se)
Date:06/25/2003 06:32:36 AM
List:com.perforce.jamming

Well,

as no one else came up with an answer ... I've come one step closer to a solution. I found that the defines needed to include the options were set using CCFLAGS, e.g.:

CCFLAGS += /DEFINE=($(OPT_DEFINES)) ;

and that VMS also was defined using CCFLAGS ("CCFLAGS += /DEFINE=VMS ;")

The sad thing about this is that the DEC C++ compiler can only handle a single /DEFINE option in the form of /DEFINE=(op1,opt1,...). If more are specified only the last one is used - hence why no extensions where included in my build (didn't see it until using the -dx qualifier).

Using DEFINES instead of CCFLAGS solves the problem, e.g.:

--- Jamfile.config ---

.. DEFINES += $(OPT_DEFINES) ; ...

----- Jamfile. -----

... DEFINES += VMS ; ...

Also, an '#include "hcache.h"' statement was missing in make.c.

Still haven't got the header cache to work though ...

// Johan

-----Original Message----- From: joha@esrange.ssc.se [SMTP:joha@esrange.ssc.se] Sent: Friday, June 06, 2003 2:36 PM To: jamm@perforce.com Subject: [jamming] Header scan caching under VMS?

Hi,

does anyone know if the header-cache feature under Craig McPheeters branch should work under OpenVMS? I tried to download and compile (which worked fine after a lesser fix in hcache.c), but it doesn't seem like the cache is in use. I tried to invoke jam using "-sHCACHEFILE=<filename>" for one of my projects, but no cache file appeared.

Quick steps on how to test/fix it?

// Johan