Release 2.0 Build From Source

This page is obsolete and archived!


This page is obsolete and archived!


Build from source

Ubuntu
CentOS
macOS
Fedora cross compile to windows
Windows MSYS2
Raspbian

Building dps8m under Ubuntu

If you are using a pared-down system, such as Ubuntu Server 17.04, some utilities may not be present. Install those first…

 sudo apt-get install git libtool automake make clang

Build 'libuv'

    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x
    cd libuv-1.x
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ..

Build dps8

    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    cd dps8m-code
    make

Running the emulator.

(Copy 'src/dps8/dps8' to the desired working directory)
./dps8 [boot script]

Building dps8m under CentOS

Install needed packages:

    sudo yum install automake libtool clang

Build 'libuv'

    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x
    cd libuv-1.x
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ..

Build dps8

    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    cd dps8m-code
    make

Running the emulator.

(Copy 'src/dps8/dps8' to the desired working directory)
./dps8 [boot script]

Building dps8m under macOS

Install needed packages:

Before you can build under macOS, you need to install Xcode from the macOS App Store. You also need to install and agree to the license for the Xcode command-line tools. You agree to the license with "sudo xcodebuild -license accept".

You will need to install wget (if not already installed); to do this, first install Homebrew, and then use "brew install wget" to install wget. You will also need glibtoolize, which you can get by using "brew install libtool".

Build 'libuv'

    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x
    cd libuv-1.x
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ../..

Build dps8

    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    cd dps8m-code
    make LIBUV='/usr/local/lib/libuv.a -lpthread' clean all
    sudo make install
    cd ..

Building dps8m under Fedora 23 Linux For Windows ("Cross-compilng")

Install needed packages:

    sudo dnf install mingw64-gcc mingw64-libgnurx libtool
    sudo dnf update perl-Errno

Build 'libuv'

    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x
    cd libuv-1.x
    sh autogen.sh
    mingw64-configure
    make
    sudo make install
    cd ..

Get the dps8m source:

    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    cd dps8m-code
    make CROSS=MINGW64

Copy these files to your windows machine:

  • dps8.exe
  • /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll
  • /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libuv-1.dll

[MSYS2 Windows]

Building dps8m Under Windows With MSYS2

In your browser, go to https://msys2.github.io/

Download and run the msys2 x86_64 installer. Follow the installation
instructions on the webpage.

After step 7 ("Now Pacman is fully committed…"), fetch the dps8m
code, needed libraries and packages by entering:

    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x

    pacman -S mingw-w64-x86_64-gcc
    pacman -S mingw-w64-x86_64-binutils
    pacman -S mingw-w64-x86_64-libtool
    pacman -S mingw-w64-x86_64-make
    pacman -S mingw-w64-x86_64-dlfcn
    pacman -S mingw-w64-x86_64-diffutils
    pacman -S mingw-w64-x86_64-gettext
    pacman -S mingw-w64-x86_64-libgnurx
    pacman -S mingw-w64-x86_64-binutils
    pacman -S automake
    pacman -S autoconf
    pacman -S unzip
    pacman -S zip
    ^D

Start a MSYS2 MinGW window and build the code:

    Start -> All programs -> MSYS2 64 bit -> MSYS2 MINGW 64 bit

      cd libuv-1.x
      sh autogen.sh
      ./configure
      mingw32-make.exe MAKE=mingw32-make.exe

      cd
      cd dps8-code
      mingw32-make.exe

Running the emulator.

Start a Windows command shell:

    Start -> All programs -> Accessories -> Command Prompt

Change directory to where the emulator is to be run from and copy the needed files

      cd <wherever>
      copy c:\msys64\home\Admin\dps8m-code\src\dps8\dps8.exe
      copy c:\msys64\mingw64\bin\libwinpthread-1.dll
      copy c:\msys64\mingw64\bin\libuv-1.dll

Run Multics:

      .\dps8.exe <boot.ini>

Building dps8m under Raspbian

Install tools

    sudo apt-get update
    sudo apt-get libtool automake clang

Build 'libuv'

    wget https://github.com/libuv/libuv/archive/v1.x.zip
    unzip v1.x
    cd libuv-1.x
    sh autogen.sh
    ./configure --prefix=/usr
    make
    sudo make install
    cd ..

Build dps8

    cd
    wget http://ringzero.wikidot.com/local--files/start/dps8_R2.0_source.tgz
    tar xfz dps8_R2.0_source.tgz
    cd dps8m-code
    git checkout R1.0
    make

Running the emulator.

(Copy 'src/dps8/dps8' to the desired working directory)
./dps8 [boot script]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License