- Notifications
You must be signed in to change notification settings - Fork8
Genesis/MegaDrive Development Environment for Mac OS X
License
SONIC3D/gendev-macos
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Genesis/MegaDrive Development Environment for Mac OS X
This project is based on mattkubilus's gendev project.Check his wonderful work first, please!https://github.com/kubilus1/gendev
The purpose of my project is to make gendev be able to build and work properly on Mac OSXwith minimal changes applied.
Mac OS X Yosemite 10.10.3 with Command Line Tools for XCode 6.4 is the reference buildenvironment for current release. That means it should be built with Apple LLVM 6.1.0 (clang-602.0.53).
4.9G disk storage space is required for temporary obj files and target files generation.
- I have not tested building it with toolchain in MacPorts. So if you have MacPorts installedand got failed in building. I suggest you install a clean OS X in a Virtual Machine and geta copy of XCode command line tool fromhttps://developer.apple.com/downloads/
Wget is required during the build progress to download several external source packages.
# Download, compile and install wget:curl -O http://ftp.gnu.org/gnu/wget/wget-1.16.tar.gztar -xzf wget-1.16.tar.gzcd wget-1.16./configure --with-ssl=opensslmakesudo make installcd ..&& rm -rf wget*
The path /opt/toolchains/gen/ may required to be created manually with root permission.It should be chmoded to make the shell user writable.
sudo mkdir -p /opt/toolchains/gensudo chmod -R 777 /opt
git clone http://github.com/SONIC3D/gendev-macos.gitcd gendev-macosmake
Make proper exports for the toolchain before compile any genesis/32x project:
export GENDEV=/opt/toolchains/genexport PATH=$GENDEV/sh-elf/bin:$GENDEV/m68k-elf/bin:$GENDEV/bin:$PATH
Check mattkubilus's gendev project site at the beginning of this file and the url belowfor further information:
Chilly Willy's Topic on Building a Genesis/SCD/32X toolchain:http://gendev.spritesmind.net/forum/viewtopic.php?t=889
And Stephane's SGDK if you need stable library code for common feature:https://github.com/Stephane-D/SGDK
About
Genesis/MegaDrive Development Environment for Mac OS X