[Info-vax] cross tools and CLD scope

hb end.of at inter.net
Mon Oct 18 05:41:42 EDT 2021


On 10/18/21 4:06 AM, Robert A. Brooks wrote:
> On 10/17/2021 8:56 PM, Bob Wilson wrote:
>> I don't know if this will solve your problem (I'm not familiar with
>> MMK), but
>> for MMS we use the .FIRST directive to run a command procedure which,
>> among
>> other things, runs a setup command procedure for "tools" (worked fine
>> in the
>> IA64 port, haven't tried it yet for x86)
> 
> Using the .FIRST directive in MMS works with the IA64-based X86
> cross-tools compilers.
> 

Yes, command tables are not propagated to spawned subprocesses. This
affects MMS/MMK.

As mentioned, there is a .FIRST for MMS/MMK, you should have the cross
tools setup in the .FIRST. If you don't want to change the existing
makefile, ahem description file, you can concatenate a "first" file with
your existing one: /DESCRIPTION=("DESCRIP+FIRST"). Yes, quoted. This
works for MMS. I can't get that to work for MMK. Here you may need
something like "$ pipe type/noheader descrip.mms+first.mms |
mmk/descr=sys$pipe". For MMS there can be only one first in the
concatenated description. That explains my order of the plus list. The
last one wins. For MMK you can have several, all seem to be executed. If
you use MMS and already have a .FIRST in your DESCRIP.MMS, you may need
to copy the actions from that to the "first" description file.



More information about the Info-vax mailing list