Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 941 Bytes

LinuxBuilding.asciidoc

File metadata and controls

45 lines (28 loc) · 941 Bytes

Building the Romloader under Linux

The Romloader is made to be built on Ubuntu, version 20.04 LTS is recommended.

Prerequisites

In order to build the Romloader the following steps need to be followed. Example commands have been given for Ubuntu 20.04 LTS.

General Setup
  1. Install Python 3

    • Version 3.7.9 is recommended and tested.

    • Pre-installed on Ubuntu 20.04 LTS

  2. Install CMake

    sudo apt install CMake
  3. Install gcc and g++

    sudo apt install gcc && sudo apt install g++
  4. Install lib32z1

    sudo apt install lib32z1
  5. Install swig

    sudo apt install swig
  6. Install make

    • Pre-installed on Ubuntu 20.04 LTS

  7. If compiling for a Windows target install mingw

    sudo apt install mingw-w64

Building the Romloader

  1. Open a Terminal window in the Romloader folder

    1. Execute the build_artifact.py script found in the Romloader folder using Python 3.

      Example:

      python3 build_artifact.py