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.

> > 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.

Currently Gforth's configure does not accept clang as a compiler.  It
worked a year ago or so, but was an unpleasant experience (compile
times in hours where gcc needed minutes); some of Gforth's performance
features were cut back to get clang compile times from even-longer
down to unpleasant.  When I disable the check against clang in
configure, it still does not compile, but working around the reason
for that is just work.

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).

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.

- anton

Reply via email to