I couldn't find a previous thread on this. I'm pretty comfortable in the Unix/OS X world, but generally have avoided Windows like the plague. That said, I'd like to see if I can get the bin/cue extensions I wrote working on Windows.. I need a jump start to compile on Windows
1) What tool chain is used ? Visual Studio ? GCC ?
2) What are the basic steps to building a vanilla version
Geoffrey
Building on Windows ?
Moderators: Cat_7, Ronald P. Regensburg, ClockWise
-
- Student Driver
- Posts: 17
- Joined: Tue Aug 03, 2010 1:42 pm
Hi,
I just built a new windows version today. It doesn't contain new features, I just wanted to test whether the recent code changed had any adverse effects on the window code.
You need a cygwin environment to build SheepShaver or Basilisk (at least, that is what I use). Besides the obvious compiler, you need some extra packages installed as well (cvs etc). Alas there is no overview of all required packages.
You install SDL (I use 1.2.14) in Cygwin and use the same commands as in Unix/OSX. Below are my build steps:
#Install SDL: download the source and do:
cd release-1.2.14
./autogen.sh
./configure --disable-shared --prefix=`pwd`
make
make install
#You need to cd into the SDL folder every time you start cygwin and export the path to sdl-config to build #SheepShaver, so SDL libs and sdl-config file can be found
PATH=`pwd`/bin:$PATH
export PATH
#Download the Basilisk and SheepShaver source
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix login
#(password is "anoncvs")
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix checkout BasiliskII
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix checkout SheepShaver
cd SheepShaver
make links
cd src/Windows
NO_CONFIGURE=1 ../Unix/autogen.sh
./configure #(there are no extra parameters when building in windows)
#You might run into a problem with the GTK version check, at or around line 3977? in configure. Just comment out #the 6 lines in the file related to the check, and things will work out.
make
strip SheepShaver.exe
I just built a new windows version today. It doesn't contain new features, I just wanted to test whether the recent code changed had any adverse effects on the window code.
You need a cygwin environment to build SheepShaver or Basilisk (at least, that is what I use). Besides the obvious compiler, you need some extra packages installed as well (cvs etc). Alas there is no overview of all required packages.
You install SDL (I use 1.2.14) in Cygwin and use the same commands as in Unix/OSX. Below are my build steps:
#Install SDL: download the source and do:
cd release-1.2.14
./autogen.sh
./configure --disable-shared --prefix=`pwd`
make
make install
#You need to cd into the SDL folder every time you start cygwin and export the path to sdl-config to build #SheepShaver, so SDL libs and sdl-config file can be found
PATH=`pwd`/bin:$PATH
export PATH
#Download the Basilisk and SheepShaver source
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix login
#(password is "anoncvs")
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix checkout BasiliskII
cvs -d :pserver:anoncvs@cvs.cebix.net:/home/cvs/cebix checkout SheepShaver
cd SheepShaver
make links
cd src/Windows
NO_CONFIGURE=1 ../Unix/autogen.sh
./configure #(there are no extra parameters when building in windows)
#You might run into a problem with the GTK version check, at or around line 3977? in configure. Just comment out #the 6 lines in the file related to the check, and things will work out.
make
strip SheepShaver.exe
-
- Student Driver
- Posts: 17
- Joined: Tue Aug 03, 2010 1:42 pm
Thanks, I've used cygwin a lot in the past.
I did a fresh install of cygwin -- just needed the development tools
I did need to do the following before building things
CC=gcc-3
CXX=g++-3
evidently the version 4 tools can't build standalone non-cygwin apps. For
SDL I also needed
CFLAGS=-mno_cygwin
Geoffrey
I did a fresh install of cygwin -- just needed the development tools
I did need to do the following before building things
CC=gcc-3
CXX=g++-3
evidently the version 4 tools can't build standalone non-cygwin apps. For
SDL I also needed
CFLAGS=-mno_cygwin
Geoffrey