Spivoxity / obc-3

Oxford Oberon-2 compiler
38 stars 7 forks source link

Not accepting .mod extension on windows #22

Closed Spivoxity closed 4 years ago

Spivoxity commented 5 years ago

obc -v shows:

Oxford Oberon-2 compiler version 3.0.7 [build 38e81c3e6994]
Oxford Oberon-2 linker version 3.0.7 [build 38e81c3e6994]
Oxford Oberon-2 runtime system version 3.0.7 [build 38e81c3e6994]
Oxford Oberon-2 compiler driver version 3.0.7 [build 38e81c3e6994]
Compiling a simple program Test.mod give usage info. When same file is renamed as Test.m it builds fine

Running on Windows 7 x64

Spivoxity commented 5 years ago

This is not a show-stopper on any platform, and there's an easy workaround on the one platform that's affected, so I've marked it as trivial.

The Windows port uses a separate driver program written in C in place of the shell script used on other platforms. The problem will be easily fixed in the next release, but it's not urgent.