Release 2.0 Build From Git

This page is currently a DRAFT and may contain inaccurate information

Ubuntu
CentOS
Fedora cross compile to windows
Windows MSYS2
Raspbian
macOS
FreeBSD

Building dps8m under Ubuntu

Testing Status: Tested with Ubuntu 16.04 Xenial Xerus and 18.04 Bionic Beaver

Install needed packages:

(for 16.04):    sudo apt install git clang
(for 18.04):    sudo apt install git clang libtool m4 automake

Build 'libuv'

    git clone https://github.com/libuv/libuv.git
    cd libuv
    git checkout v1.23.0
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ..

Build dps8

    git clone https://gitlab.com/dps8m/dps8m
    cd dps8m
    git checkout R2.0
    make

Building dps8m under macOS

Testing Status: Tested all but the brew install of git and clang and libtool on macOS 10.14.6

Install needed packages:

    brew install git clang libtool m4 automake

Build 'libuv'

    git clone https://github.com/libuv/libuv.git
    cd libuv
    git checkout v1.23.0
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ..

Build dps8

    git clone https://gitlab.com/dps8m/dps8m
    cd dps8m
    git checkout R2.0
    make

Building dps8m under CentOS

Testing Status: Tested with Centos 7

Install needed packages:

    sudo yum install git automake libtool clang

Build 'libuv'

    git clone https://github.com/libuv/libuv.git
    cd libuv
    git checkout v1.23.0
    sh autogen.sh
    ./configure
    make
    sudo make install
    cd ..

NOTE: For some reason libuv is not being found in its default installation location of /usr/local/lib and it was necessary do the following for it to be found:

sudo ln -s /usr/local/lib/libuv.so.1.0.0 /usr/lib64/libuv.so.1

Build dps8

    git clone https://gitlab.com/dps8m/dps8m.git
    cd dps8m
    git checkout R2.0
    make

Building dps8m under Fedora 30 Linux For Windows ("Cross-compiling")

Testing Status: Tested build artifacts on Windows 10

Install needed packages:

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

Build 'libuv'

    git clone https://github.com/libuv/libuv.git
    cd libuv
    git checkout v1.23.0
    sh autogen.sh
    mingw64-configure
    make
    sudo make install
    cd ..

Get the dps8m source:

    git clone https://gitlab.com/dps8m/dps8m.git
    cd dps8m
    git checkout R2.0
    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

Testing Status: Untested

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:

       git clone git://git.code.sf.net/p/dps8m/code dps8m-code
       git clone https://github.com/libuv/libuv.git

       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
      git checkout v1.23.0
      sh autogen.sh
      ./configure
      mingw32-make.exe MAKE=mingw32-make.exe

      cd
      cd dps8-code
      git checkout R2.0
      git fetch
      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

Testing Status: Tested

Install tools

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

Build 'libuv'

    git clone https://github.com/libuv/libuv.git
    cd libuv
    git checkout v1.23.0
    sh autogen.sh
    ./configure --prefix=/usr
    make
    sudo make install
    cd ..

Build dps8

    cd
    git clone https://gitlab.com/dps8m/dps8m.git
    cd dps8m
    git checkout R2.0
    make M32=1

Building dps8m under FreeBSD 12.0

Testing Status: Tested R2.0-beta-3 with FreeBSD 12.0, waiting final release testing

Install tools

    pkg install git gmake libuv-1.30.1
e clang

Build dps8

    cd
    git clone https://gitlab.com/dps8m/dps8m.git
    cd dps8m
    git checkout R2.0
    gmake

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