Skip to content

Compiling

Leseratte10 edited this page Feb 20, 2020 · 1 revision

Compiling devkitARM r32 requires a fairly specific setup, so I am providing Docker files to automate this process. Normal end users usually don't need to follow this process - just download the pre-built binaries. If you are using another distribution and none of the binaries work for you, tell me and I'll try to provide binaries for your distribution / version too.

Compiling on Linux

Check the folder "Dockerfiles" in the repository to see if there already is a Dockerfile for your Distribution. If not, try to use the closest one.

If you have created a Dockerfile for another Distribution feel free to create a Pull Request to add that to this repository.

  1. If you haven't already, install Docker (for example, using apt install docker)
  2. Checkout the repo and open a terminal in the repository folder
  3. Enter the appropriate Dockerfile subdirectory for your distribution
  4. Compile devkitARM using sudo docker image build -t devkit . (devkit can be any container name you want)
    After that is finished, you have a container named "devkit" which is capable of compiling the d2xl-cIOS.
  5. Extract devkitARM from the container using sudo docker run -v $(pwd):/github/workspace -it devkit
  6. You should now have a devkitARM-r32-linux_*.tar.gz archive in the current folder.
Clone this wiki locally