To build a Docker image from the
Dockerfile and make it available on your machine:
brew cask install dockeron macOS using Homebrew
docker build --tag n64sdkmod-docker .
Building the image may take a while, as a GCC cross-compiler needs to be compiled. You may also need to increase the available RAM to 4 GB in Docker's advanced settings to avoid the build process being killed for using up all available container RAM.
To run the container and compile your ROM's source code within the container:
docker run --volume "$(pwd):/src" n64sdkmod-docker bash -c 'cd /src && make'
This will copy your source directory into the container, invoke the cross-compiler, and output any build artifacts to your hosts's working directory.
Back to homepage