Skip to content
Alban edited this page Aug 18, 2019 · 12 revisions

Welcome to the modula-2 XDS wiki

compile and build it.

  1. Edit modula-2.config.Config-Alien.bsc and modula-2.config.env-Alien.bsc Change at least the file name; replace Alien with the machine name of your system.

  2. Unzip binary SDK from https://github.com/excelsior-oss/xds-ide/releases and install it

  3. Set your path to include the SDK bin; and set include and lib to point at the MSVC SDK.

  4. Download and install NASM

  5. Select the 8.1 SDK e.g. "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 8.1

  6. Run the script xdswork.bat

Hints

I had to increase the memory in the project heap limits to get everything to compile; I doubled it generally.

The heap limits are set to 12MB I think in the project files.; setting them to 128MB or mucch higher is harmless when you have Gigabytes in a PC.

Alternative plan: (for 2..3) Unzip the XDS zip folder from this repo; that contains the SDK and NASM; add that to your path. I tend to use the compilers in the XDS folder to compile new compilers in the XDS folder. Or more often compile something else.

Testing path etc.

If you type xc or xm you should get the version displayed.

e.g.

O2/M2 development system v2.51 TS  (c) 1991-2010 Excelsior, LLC. (build 18.08.2019)

Configuration:

   Front end:             Modula-2 v2.40

   Back end:              x86, v1.51

...

Clone this wiki locally