soyMAIL 2.1.0 requires JavaScript
soyMAIL @ wasd.vsm.com.au
       info-WASD Mailing List 2023 

Mon 21:33:41 Message "2023 / 0034" opened.  MIME.  3 kbytes.    JavaScript

Subject:[Info-WASD] Addendum: WASD x86-64 v12.1 and VSI C X7.4-7260034 / 0000
From:Mark.Daniel@wasd.vsm.com.au
Reply-to:info-wasd@vsm.com.au
Date:Thu, 16 Feb 2023 14:20:55 +1030  [16-FEB-2023 14:20]
To:info-WASD@vsm.com.au

(Mostly) builds like a charm...

|X86VMS$ @build_httpdmon
|
|Building HTTPDMON for X86_64
|$    CC /DECC /OPTIMIZE /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS 
|/DEFINE=(__VMS_VER=70000000,__CRTL_VER=70000000) /WARNING=(NOINFORM,DISABLE=(PREOPTW))
|/OBJECT[.obj_X86_64] HTTPDMON
|
|   if (BytesPerSecond >= (10000000 * 1000))
|..........................^
|%CC-E-CONSTFOLDNS, In this statement, the libraries on this platform do not yet
|support compile-time evaluation of the constant expression "10000000*1000".
|at line number 2733 in file WASD_ROOT:[src.utils]httpdmon.c;3

Curious!

So if you download(ed) the WASD1210.ZIP prior to "Archive created
16-FEB-2023" you will need to edit the WASD_ROOT:[SRC.UTILS]HTTPDMON.C at
line 2733 to read

   if (BytesPerSecond >= 10000000000)

before compiling on x86-64.

Interestingly, that statement is immediately prefixed by the comment

|/*
|Prevent "%CC-E-INTCONST, Ill-formed integer constant" under
|Compaq C V6.4-005 on OpenVMS VAX V7.2 (at least).
|*/

which presumably gave rise to the "(10000000 * 1000)" in the first place.

The archive has been updated to include this fix but will not be required
when building Alpha and Itanium.

The X86 object module archives have been updated to contain native compiler
built code.  The previous advice against SSL static linking still applies,
unless you are very, very patient.

Have fun, Mark.

--------------- Original Message ---------------
Subject: [Info-WASD] WASD x86-64 c12.1 and VSI C X7.4-726
To: info-wasd@vsm.com.au
From: Mark.Daniel@wasd.vsm.com.au
Date: Wed, 15 Feb 2023 05:15:12 +1030

TL;DR ... it's not that long!

X86VMS$ cc /version
VSI C X7.4-726 (GEM 50X23) on OpenVMS x86_64 V9.2

Builds (and executes) like a charm (so far).

See attached.

There are some build efficiencies (in size) compared to the cross-compiler.

Directory WASD_ROOT:[x86_64]

HTTPD_SSL.EXE;2       4.09MB  15-FEB-2023 05:04:59.24
HTTPD_SSL.EXE;1       5.97MB   8-JAN-2023 11:23:14.54

The modes bounce around a bit (as might be expected) but this looks (sorta)
typical.  See attached.

First big milestone (as far as the [C] developer community goes).

  ¤¤¤       
  ¤¤¤