Skip to content
uli edited this page Jan 1, 2018 · 2 revisions

Instructions for native builds on Linux and Windows.

Linux Mint 18.3

(This should also work on most other Debian-derived distributions.)

Download "https://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitARMupdate.pl".

Run these commands:

sudo apt-get install git build-essential libfreeimage-dev libsndfile1-dev

git clone https://github.com/uli/dragonbasic.git

perl devkitARMupdate.pl

cd dragonbasic

DEVKITPRO=~/devkitPro make linux runtime.gba runpimp.gba

Windows 7

(May work on other Windows versions as well.)

Install "msys2-i686-20170918.exe". Install "devkitProUpdater-1.6.0.exe".

At the MSYS2 command prompt, type:

pacman -Sy

pacman -S git make mingw-w64-i686-freeimage mingw-w64-i686-gcc mingw-w64-i686-libsndfile

git clone https://github.com/uli/dragonbasic.git

cd dragonbasic

DEVKITPRO=/c/devkitPro PATH=/mingw32/bin:$PATH make win_cross runtime.gba runpimp.gba

cp -p /mingw32/bin/lib{stdc++,gcc_s,winpthread,freeimage,Half,Iex,IlmImf,IlmThread,Imath,jpeg,jxrglue,openjp,png16,raw,gomp,jasper,lcms2,tiff,lzma,webp,sndfile,FLAC,ogg,speex,vorbis}*.dll /mingw32/bin/zlib1.dll .

(Note: All of these are single-line commands, do not add any line breaks or spaces. A period at the end is part of the command.)

Clone this wiki locally