Difference between revisions of "Compiling Yabause under Windows"

From Yabause
Jump to: navigation, search
Line 1: Line 1:
'''Setting up the build environment'''
+
{{Yabause Manual}}
 +
 
 +
== Setting up the build environment ==
  
 
This includes the compiler and the required tools to build Yabause and its dependancies.
 
This includes the compiler and the required tools to build Yabause and its dependancies.
  
'''MinGW :'''
+
=== MinGW ===
  
 
* Download latest MinGW version and install it: [http://sourceforge.net/project/downloading.php?group_id=2435&use_mirror=kent&filename=MinGW-5.1.4.exe&6263100 MinGW 5.1.4]
 
* Download latest MinGW version and install it: [http://sourceforge.net/project/downloading.php?group_id=2435&use_mirror=kent&filename=MinGW-5.1.4.exe&6263100 MinGW 5.1.4]
Line 16: Line 18:
 
* Push Next, it's done.
 
* Push Next, it's done.
  
'''MSYS :'''
+
=== MSYS ===
  
 
* Download latest MSYS version and install it: [http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe?download MSYS-1.0.11-2004.04.30-1]
 
* Download latest MSYS version and install it: [http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe?download MSYS-1.0.11-2004.04.30-1]
Line 30: Line 32:
 
* Push Enter to each message.
 
* Push Enter to each message.
  
'''MSYS Developer Toolkit :'''
+
=== MSYS Developer Toolkit ===
  
 
* Download and install MSYS Developer Toolkit executable and install it : [http://surfnet.dl.sourceforge.net/sourceforge/mingw/msysDTK-1.0.1.exe msysDTK-1.0.1]
 
* Download and install MSYS Developer Toolkit executable and install it : [http://surfnet.dl.sourceforge.net/sourceforge/mingw/msysDTK-1.0.1.exe msysDTK-1.0.1]
Line 39: Line 41:
 
* Push Next and Finish.
 
* Push Next and Finish.
  
'''Autotools :'''
+
=== Autotools ===
  
 
- Create a directory c:\dev\download
 
- Create a directory c:\dev\download
Line 48: Line 50:
 
* [ftp://ftp.gnu.org/gnu/automake/automake-1.10.tar.gz Automake-1.10]
 
* [ftp://ftp.gnu.org/gnu/automake/automake-1.10.tar.gz Automake-1.10]
  
'''Libtool :'''
+
=== Libtool ===
  
 
Start msys and enter the following commands:
 
Start msys and enter the following commands:
Line 61: Line 63:
 
  make install
 
  make install
  
'''Autoconf :'''
+
=== Autoconf ===
  
 
Enter the following commands :
 
Enter the following commands :
Line 72: Line 74:
 
  make install
 
  make install
  
'''Automake :'''
+
=== Automake ===
  
 
Enter the following commands :
 
Enter the following commands :
Line 83: Line 85:
 
  make install
 
  make install
  
'''dx80_mgw :'''
+
=== dx80_mgw ===
  
 
* Download [http://alleg.sourceforge.net/files/dx80_mgw.zip dx80_mgw] in c:\dev\download
 
* Download [http://alleg.sourceforge.net/files/dx80_mgw.zip dx80_mgw] in c:\dev\download
 
* Unpack it in c:\dev\mingw.
 
* Unpack it in c:\dev\mingw.
  
'''Compile Yabause :'''
+
== Compile Yabause ==
  
 
Enter the following commands in MSYS :
 
Enter the following commands in MSYS :

Revision as of 07:17, 31 May 2008

Yabause Manual
For users
For developers
edit

Setting up the build environment

This includes the compiler and the required tools to build Yabause and its dependancies.

MinGW

  • Download latest MinGW version and install it: MinGW 5.1.4
  • Double Click on MinGW 5.1.4.
  • Push Next.
  • Choose Download & Install.
  • Push I Agree.
  • Choose Candidate.
  • Check MinGW Base Tools, G++ Compiler and MinGW Make.
  • Choose c:\dev\mingw as installation directory.
  • Push Install, wait a moment.
  • Push Next, it's done.

MSYS

  • Download latest MSYS version and install it: MSYS-1.0.11-2004.04.30-1
  • Double Click on MSYS-1.0.11-2004.04.30-1.
  • Push Next.
  • Push Yes.
  • Choose c:\dev\msys as installation directory.
  • Push Next, Next and Install.
  • You have a dos windows.
  • Question 1 : Do you wish to continue with the post install ? Type Y and push Enter.
  • Question 2 : Do you have MinGW installed ? Type Y and push Enter.
  • Question 3 : Where is your MinGW installation ? Type c:\dev\mingw.
  • Push Enter to each message.

MSYS Developer Toolkit

  • Download and install MSYS Developer Toolkit executable and install it : msysDTK-1.0.1
  • This will install "MSYS Developper Toolkit". Do you wish to continue ? Push Yes
  • Push Next, then Yes.
  • Choose c:\dev\msys as installation directory.
  • Push Next and Install.
  • Push Next and Finish.

Autotools

- Create a directory c:\dev\download

- Download these 3 files in the following directory "c:\dev\download" :

Libtool

Start msys and enter the following commands:

mkdir /usr/src
cd /usr/src
tar -xvzf /c/dev/download/libtool-1.5.26.tar.gz
cd libtool-1.5.22
./configure --prefix=
make -j3
make install

Autoconf

Enter the following commands :

cd /usr/src
tar -xvzf /c/dev/download/autoconf-2.61.tar.gz
cd autoconf-2.61
./configure --prefix=
make
make install

Automake

Enter the following commands :

cd /usr/src
tar -xvzf /c/dev/download/automake-1.10.tar.gz
cd automake-1.10
./configure --prefix=
make
make install

dx80_mgw

  • Download dx80_mgw in c:\dev\download
  • Unpack it in c:\dev\mingw.

Compile Yabause

Enter the following commands in MSYS :

cvs -d:pserver:anonymous@yabause.cvs.sourceforge.net:/cvsroot/yabause login

Just push Enter (Don't need a password)

cvs -z3 -d:pserver:anonymous@yabause.cvs.sourceforge.net:/cvsroot/yabause co -P yabause

Just push Enter and be patient :)

Now get Yabause directory in :

C:\dev\msys\home\*

Copy Paste to C:\ and enter the following commands in MSYS :

cd cd:\yabause
./autogen.sh
./configure && make