I’m trying to resurrect and improve an old program of mine which I want to run on one Windows XP system. If I’m asking here, it means that I’m failing.
Here is a minimal Hello World program which also do nothing on my XP box. Any idea what I could check or try?
let () = print_endline "Hello"
(executable (name hw))
On the development system, the opam switch is
It runs successfully, being started from
cygwin or from
cmd on the Windows 7 development system.
It seems the generated file has the right format:
$ file hw.exe hw.exe: PE32 executable (console) Intel 80386, for MS Windows
I do not understand why it is not working on the XP system?