[Info-vax] MMK V5.1-1 for OpenVMS X86_64

Craig A. Berry craigberry at nospam.mac.com
Wed Sep 6 17:19:35 EDT 2023


On 9/6/23 2:19 PM, Hunter Goatley wrote:
> On 9/6/2023 8:40 AM, Hunter Goatley wrote:
>>
>> I've released MMK V5.1-2 for VAX, Alpha, I64, and X86_64.
>>
> Now it's MMK V5.1-3. After releasing V5.1-2, I discovered that MMK on 
> VAX did not support command lines longer than 255 characters. There was 
> code to turn those into continuation lines, but a miscalculation in the 
> line lengths prevented that from working. I have corrected that code, so 
> now long DCL lines are supported on VAX, too.

I was about to tell you that in 5.1-2 you'd regressed something you
fixed 7 years ago:

https://github.com/endlesssoftware/mmk/commit/d669df76b69bd273b22f5ea159d4c92d1df7e229

I'm working on merging 5.1.3 with my previous changes and the code on
GitHub, and I wondered about a couple things.  There are multiple places
where you do:

   #if defined(__ALPHA) || defined(__ia64__) || defined(__x86_64__)

instead of:

   #ifndef __VAX

Is there any reason not to prefer the simpler and more future-proof
version? I don't have docs going back far enough to know if VAXC defines
__VAX or only VAX, but I don't see a reason to target that compiler when
it was superseded by DEC C for OpenVMS VAX so long ago.

In mmk_default_rules_x86_64.mms, some of the comments still said IA64
rather than x86. I'm keeping the ones that say x86.




More information about the Info-vax mailing list