[Info-vax] %PCSIUI-E-PRIVCLASS1 when using PRODUCT with PIPE
Tim Sneddon
tsneddon at panix.com
Thu Dec 13 02:15:33 EST 2018
John E. Malmberg <wb8tyw at qsl.net_work> wrote:
> On 12/11/2018 7:47 AM, Tim Sneddon wrote:
>> Jairo Alves <jairo.ptbr at gmail.com> wrote:
>>>
> snip
>>
>> It is being treated as a command procedure. Years ago I investigated
>> this as I was trying to figure a way to provide a better implementation
>> of $(SHELL ...) for MMK. DCL actually checks to see if the command
>> procedure is disk based or not. If it is disk based, then certain
>> constructs become possible, like multi-line IF-THEN-ELSE-ENDIF, loops,
>> etc. If not, then you get single-line DCL.
>
> Is LD source available?
>
> Make a variant that could produce a small memory disk in the users
> virtual address space instead of a file.
>
> Or use LD on a temp file with good RMS caching.
>
> Have MMK (or other tools) detect if that tool is available and use it to
> run small scripts.
Thanks, John. That is worth investigating. I think the problem I was
having was that MMK feeds a sub-process the DCL lines (not just in
$(SHELL...)), but also build commands, one line at a time as they
are read out of the MMK definition.
I was looking for a way to "feed" the lines to DCL in a way that
would allow for complex commands (like is possible under GNU make
and other UN*X makes).
I suspect that the best way is simply to dump all the commands to
a file and then execute it. However, then the issue is how to
determine errors and which line caused it, etc.
It was a while ago that I was looking at this, things got busy
with real work and, well you know how it is...
Regards, Tim.
More information about the Info-vax
mailing list