Release 1.0 Build From Git

DRAFT DRAFT DRAFT

The links point to pre-release placeholders, not to the 1.0 release code.

Build from GIT

Ubuntu
CentOS
Fedora cross compile to windows
Windows MSYS2
Raspbian

Building dps8m under Ubuntu

Build 'libuv'

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

Build dps8

    cd
    git clone git://git.code.sf.net/p/dps8m/code dps8m-code
    cd dps8m-code
    git checkout R1.0
    make

Building dps8m under CentOS

Install needed packages:

    sudo yum install git automake libtool clang

Build 'libuv'

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

Build dps8

    git clone git://git.code.sf.net/p/dps8m/code dps8m-code
    cd dps8m-code
    git checkout R1.0
    make

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

Install needed packages:

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

Build 'libuv'

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

Get the dps8m source:

    git clone git://git.code.sf.net/p/dps8m/code dps8m-code
    cd dps8m-code
    git checkout R1.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

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

      cd
      cd dps8-code
      git checkout R1.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

Install tools

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

Build 'libuv'

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

Build dps8

    cd
    git clone git://git.code.sf.net/p/dps8m/code dps8m-code
    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