Instructions for building Ibex/Quimper under Windows Platform
Gilles Chabert, sept 09.
The instructions are for the MinGW/MSys chain tool.
Hence, you must install first MinGW and MSys.
I won't give directions for installing these softwares, there are
already many over the web (see, e.g.: http://max.berger.name/howto/cdt/ar01s03.jsp#wincompiler).
Below, the root directories of MinGW and MSys are assumed to be C:\MinGW and C:\Msys\1.0.
In case you have installed these softwares in other places, simply
substitute the actual directories to these.
Note that MSys should have created a "home" directory, C:\Msys\home\[login]
where [login] is typically the name of your machine under Windows.
Check for it before going further.
Install Flex & Bison
Download the installer (Setup) of the last version of Flex at
http://gnuwin32.sourceforge.net/packages/flex.htm
(Currently: http://gnuwin32.sourceforge.net/downlinks/flex.php)
Run the installer:
- Enter C:\Msys\1.0\ as Destination Location
- Only select "binaries" as component to be installed
- Don't create a start menu folder
- Do not download sources
Similarly, download the installer (Setup) of last version of Bison at
http://gnuwin32.sourceforge.net/packages/bison.htm
(Currently: http://downloads.sourceforge.net/gnuwin32/bison-2.4.1-setup.exe)
... and proceed exactly the same way.
Install GTK
Go to http://www.gtk.org/download-windows.html.
Download the "all-in-one bundle" file of the last version (a big zip file).
(Currently: http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-bundle_2.16.6-20090911_win32.zip).
Unzip the file in C:\MinGW:
- Everytime it asks for your confirmation to merge folders, answer "yes".
Install GtkglExt
Go to http://www.bonifazi.eu/appunti/2008/02/gtk-glade-gtkglext-all-in-one-windows.html.
Download and run the "GtkGlExt installer for Windows"
(Currently: http://www.bonifazi.eu/appunti/gtkglext-win32-1.2.0.exe)
- Choose C:\MinGW as the Destination Location
Install OpenGL
Go to http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/.
Click on the last version of the "GLUT import libraries for MinGW"
(Currently: <"http://www.martinpayne.me.uk/software/development/GLUT/GLUT-MinGW-3.7.6-6.mp.zip">http://www.martinpayne.me.uk/software/development/GLUT/GLUT-MinGW-3.7.6-3.mp.zip)
- Unzip the file
- Copy the libglut32.a file into C:\MinGW\lib
- Copy the glut.h file into C:\MinGW\include\GL
Install Ibex/quimper
- Copy the ibex-XXX.tar.gz file in C:\MSys\1.0\home\[login]
- In the C:\MSys\1.0 directory, run the batch file "msys.bat".
This will open a console. Type the following commands under the console:
- gunzip ibex-XXX.tar.gz
- tar xvf ibex-XXX.tar
- export BIAS_ARCH=13
- cd ibex-XXX
- make