On 9/25/26 06:17, Anton Ertl wrote:
On Fri, Sep 25, 2026 at 05:34:57AM -0700, Jeffrey Chimene wrote:
On 9/24/26 12:48, Jeffrey Chimene wrote:
Hi,
Is there a port to VMS on X86?
I am not aware of any VMS port.
OK.
Looking at what gForth needs to build, I think the pieces are in place.
If nobody's tried it in a while, it might be worth the attempt.
Cheers,
jec
I didn't do my due diligence before posting. gcc is not available on x86
VMS. To get Gforth onto that platform requires editing configure,
config.guess and probably others. I'm pretty sure the code could be compiled
Clang. IDK if that's worth the effort to port.
It turns out that VSI implements gcc via DECC. I *think* I can get it
working with gcc. Right now, its wanting a compiler switch "-D __GNUC__"
Apparently, this lack of "real" gcc has been known for some time: e.g.
https://wiki.postgresql.org/wiki/OpenVMS_port
I haven't been paying serious attention to VMS for over a decade.
Currently Gforth's configure does not accept clang as a compiler.
OK.
In any case I have the intention of exploring other ways to implement
Gforth in C that are probably a better fit for clang (and also a good
fit for gcc), but that will only happen after Gforth 1.0 is released
(soon), and when I find the time.
Concerning VMS, in some places Gforth is pretty Unix-specific. There
you either need a compatibility library, or you need to provide your
own implementation there (IIRC Windows has its own implementation).
Ok.
If you manage to get a VMS port to work, I would appreciate if you
send a patch so that others can do it, too. But I understand if you
want to delay that until Gforth works better with clang.
Clang is the future. Right now, I might as well learn how to compile
using gcc & updates to configure/config.guess/...
Another issue is that make is non-functional on VMS. It's replaced by MMK.
This is a hobbyist effort, and should be regarded as such.
Even as I'm saddened by the observation that software I used in 1990 is
unchanged (except for ports to 3 different architectures) in those
intervening decades, I accept what VSI is doing w/ VMS and have a
certain interest in such ports as we're discussing.
If you can tolerate a certain amount of chatter, I'll proceed to the
next roadblock
Cheers,
jec