[Howto] How to compile VICE for MacOS X
The information in this article applies to the following versions of VICE:
- VICE for Unix on MacOS X
PROBLEMEXPOSITION
You want to compile VICE for your MacOS X system.
SOLUTION
VICE comes in a one-source-tree-for-all fashion, so you simple have to get the source tarball from http://www.viceteam.org/ to get the sources. Anyway, they are some things you might stumble on, so read further:
- MacOS X is Unix. Thus, you can compile it the Unix way
- Get the GNU C compiler (GCC) from the Developer Tools package which is part of MacOS X 10.2 (Jaguar) and 10.3 (Panther).
- Install the X package for OS X. If you have Jaguar 10.2.8, you will need to find the beta X11 development package, which Apple doesn't seem to offer anymore. However, it works fine with Jaguar once you have the beta X11 packages and SDK installed. Panther comes with X11 and is supported. It should be on one of the CDs. I expect this will also work fine for Tiger.
- If you want audio support, you must have SDL. SDL should be installed the Regular Unix Way, i.e., download the source, gunzip/untar it, and run configure, make and make install. More infos can be found at the SDL FAQ at http://www.libsdl.org/faq.php?action=listentries&category=7#81. Without SDL, you will not get sound.
- Compiling VICE: Start up xterm (or Terminal.app, although in xterm you can at least try it out right away). Download the VICE source, gunzip/untar it, and enter ./configure --with-sdl (or ./configureif you don't want audio). After this, type make.
- Now, you can run the app from within xterm.
STATUS
This document is for information purpose only. The behaviour reported is intentional in the VICE versions listed at the beginning of this article.
LINKS
- VICE source tarball: http://www.viceteam.org/
- SDL FAQ: http://www.libsdl.org/faq.php?action=listentries&category=7#81.
THANKS
Thanks to Cameron Kaiser for giving these instructions
REVISION
- February 13, 2005: Original release of this document
