There's no need to remember, I found the whole VAX VMS archive - the GCC
build and the Gforth 0.3.0 build with makefiles etc. If you want it,
e-mail me off-list and I'll send you the zip.
Greetings,
Elko
On 27/09/2026 16.50, Jeffrey Chimene wrote:
Very cool!
If you can remember anything, I'll take the suggestions.
I was using fig-forth back then.
Yes, any I/O is going to be an issue. For now, I'm focusing on getting
the build environment stable. For this project, one needs an I/O
subsystem to get any real work done. This includes handling the
differences between VMS and Unix directory structures.
For that reason, the operating environment will probably require Bash.
There will be those who can accomplish useful work using VMS ODS-5
directory syntax. I don't think ODS-5 was available on VAX
Bash for VMS handles the conversion between Unix paths and VMS
directory syntax with relative ease. Perl is also available, but it's
unpleasant when used as a shebang scripting environment. From what I
can see so far (quite superficial), Unix directory paths are too wired
into the gForth source to work around. I'm guessing most I/O is done
via gob-standard C I/O. That will do most of the grunt work, as DEC C
can (finally) handle stream I/O reasonably well. I doubt that advanced
technology like file locking is properly (i.e. VMS-aware) handled in
gForth source, but it'll be a start. IOW, there are lots of fiddly
knobs that VMS file I/O needs, but they're "probably" not necessary to
get a usable executable image.
I haven't looked at console I/O. I'm guessing gForth just reads STDIN
and writes STDOUT; which should work mostly unchanged under DEC C
VMS' owners had to accept integrating LLVM and related tools into
their software development stack. VMS on X86 represents three
architecture ports VAX -> Alpha -> Itanium -> X86. This means, for
example, writing .o files compatible with LLVM, not a proprietary
linker. This does raise some 32/64 bit issues (b/c VAX), but I think
they can be handled with LLVM switches if they arise. I'm also
guessing that there won't be many 32 bit requirements. I think there
are still some 32 bit references left in the VMS stack, but don't
quote me on that.
To that end, most of the tools that make up the GNU software
development stack will not appear in VMS v9. Anton has already
mentioned moving to Clang, the AUTO* tools will not appear. To that
end, I'm focusing on debugging configure.
Any ASM will generate X86 instructions; which instruction set is
already handled by gForth.
If you have some spare Intel hardware, you too can play this game. VSI
makes a Community version of VMS available that can run under a VM.
For example, I have a 2019 8Gb Macbook Pro (I7) that's running VMS V9
under VirtualBox. Such things are possible given that VMS' memory
requirements are measured in Mb, not Gb.
Cheers,
jec
On 9/26/26 18:58, Elko Tchernev wrote:
On 25/09/2026 16.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.
I ran Gforth 0.3.0 on VMS back in 1998/99. But that was on a VAX, not
X86, and I have completely forgotten what I did to make it go. One
thing for certain was I had to replace the console I/O. Oh, now some
pieces come back, I had to make GCC first. Just reminiscing. :)
Greetings,
Elko