Common assumptions:
You need an installation of Cygwin or MinGW which includes the GCC and G++ compilers, the cvs package, X-headers, libgnome development etc.
Inside that installation, download SDL-1.2.14 and build and install SDL. NOTE: TO BE COMPLETED, PERHAPS WITH SCREEN SHOTS
Make the “src” folder in your Cygwin or MinGW home folder.
Step by step installation of SDL-1.2.14
./autogen.sh ./configure --disable-shared --prefix=`pwd` make make install PATH=`pwd`/bin:$PATH export PATH
* You need to cd into the SDL folder every time you start cygwin and export the path (the last two command lines above) to sdl-config to build SheepShaver, so SDL libs and sdl-config file can be found.
You need Xcode installed. Make the “src” folder inside your home folder.
./autogen.sh ./configure --disable-shared --prefix=`pwd` make make install PATH=`pwd`/bin:$PATH export PATH
* You need to cd into the SDL folder every time you start a new terminal window and export the path (the last two command lines above) to sdl-config to build SheepShaver, so SDL libs and sdl-config file can be found.
You need GCC and G++ installed, plus several other development packages, like SDL-1.2.14 development, the X-headers, the libgnome-development package, cvs access
Download the sources from cygwin\MinGW (in Windows) or a terminal (In OSX and Linux):
(password is “anoncvs”)
These commands download the the current source code for both BasiliskII and SheepShaver into the folders “BasiliskII” and “SheepShaver”. The SheepShaver code is not needed if you only want to compile BasiliskII.
cd to the BasiliskII folder and:
cd src/Windows NO_CONFIGURE=1 ../Unix/autogen.sh ./configure make strip BasiliskII.exe
cd to the BasiliskII folder and:
cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler make make BasiliskII_app
Ubuntu:
cd BasiliskII cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler make strip BasiliskII
Fedora:
cd BasiliskII cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler make strip BasiliskII
Suse:
cd BasiliskII cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler make strip BasiliskII
CentOS-64:
dnl Check if we should really be assuming x86_64 even if we detected HAVE_I386 above.
dnl if [[ "x$HAVE_I386" = "xyes" ]]; then
dnl AC_TRY_RUN([
dnl int main(void) {
dnl #if defined(__x86_64__)
dnl return 0;
dnl #else
dnl return 1;
dnl #endif
dnl }
dnl ], [
dnl HAVE_I386=no
dnl HAVE_X86_64=yes
dnl ])
dnl fi
cd BasiliskII cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit-compiler make strip BasiliskII
cd to the SheepShaver folder and:
make links cd src/Windows NO_CONFIGURE=1 ../Unix/autogen.sh ./configure make strip SheepShaver.exe
cd to the SheepShaver folder and:
make links cd SheepShaver/src/Unix folder NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-audio --enable-sdl-video --disable-vosf make make SheepShaver_app
Ubuntu:
cd to the SheepShaver folder and:
make links cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf make strip SheepShaver
Fedora:
cd to the SheepShaver folder and:
make links cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf make strip SheepShaver
Suse:
cd to the SheepShaver folder and:
make links cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf make strip SheepShaver
CentOS-64:
cd to the SheepShaver folder and:
make links cd src/Unix NO_CONFIGURE=1 ./autogen.sh ./configure --enable-sdl-video --enable-sdl-audio --disable-vosf --enable-jit=no make strip SheepShaver
There are some unfinished attempts (jan. 2011) to update the source code for Basilisk and SheepShaver for Windows that build in Visual C. The code also builds in MinGW. It originates from here: https://github.com/tycho/basiliskii and https://github.com/tycho/sheepshaver
The code is mirrored here:
BasiliskII_source
SheepShaver_source
The application is mirrored here:
Basilisk for Haiku
You need to set the correct rights on the application, so set it to execute for the current user.