dciabrin / ngdevkit

Open source development for Neo-Geo
GNU Lesser General Public License v3.0
272 stars 26 forks source link

Docker cross-platform compiler #102

Open humbertodias opened 1 year ago

humbertodias commented 1 year ago

Building rom with docker

Tested on MacOS Ventura with Docker version 24.0.6, build ed223bc

Pre-requisite

How to test

Clone

git clone https://github.com/humbertodias/ngdevkit
cd ngdevkit

Shell

The following command will let you access the container that contains the embedded devkit and the current folder at /tmp/workdir. So, you will be able to make the build of your rom easily without any local dependency

make -f Makefile.docker shell

Building examples

git clone --recursive https://github.com/dciabrin/ngdevkit-examples examples
cd examples
autoreconf -iv
./configure
cd 01-helloworld
make

The zipped rom will be storage at rom/puzzledp.zip

Running

Tested on Retroarch 1.16 using the core FB Alpha 2012 NeoGeo image