Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/README.mingw-cross
diff options
context:
space:
mode:
authorYves Combe <ycombe@src.gnome.org>2006-11-09 09:53:06 (GMT)
committer Yves Combe <ycombe@src.gnome.org>2006-11-09 09:53:06 (GMT)
commita9b4f53ad3f94c572f02b1351ccda8dcc4b5bb46 (patch)
tree1b418bdd3fd4ea7369b2b28457d3753189bca7a5 /README.mingw-cross
parentdf642cc058ca8a81a780b0787040d085198148a3 (diff)
Landing of GCOMPRIS_8_2_CROSSCOMPIL branch.
Allow cross compilation for win32 with mingw/Linux. Use GLib functions instead of unix one . Adapt Tuxpaint launcher to make it work on Windows.
Diffstat (limited to 'README.mingw-cross')
-rw-r--r--README.mingw-cross39
1 files changed, 39 insertions, 0 deletions
diff --git a/README.mingw-cross b/README.mingw-cross
new file mode 100644
index 0000000..e824f87
--- /dev/null
+++ b/README.mingw-cross
@@ -0,0 +1,39 @@
+How to cross compile GCompris for windows with mingw on GNU/Linux
+
+You need:
+========
+You need cross version of mingw, wich is available in all good distribution.
+You have to install all mingw/windows version of your dev librairies somewhere.
+You have to adapt cross-configure.sh with the places where you put this libs.
+
+The scripts:
+============
+There is two script: cross-configure.sh and cross-make.sh. They are stolen from libsdl version: http://www.libsdl.org/extras/win32/cross/README.txt
+
+You can use them as configure and make, but you need to adapt them in your configuration. cross-configure.sh has a couple of lines for each library.
+Check TARGET too, TARGET is used tu set name of your compilators (gcc is i586-mingw32msvc-gcc when TARGET=i586-mingw32msvc)
+
+You have to set the PREFIX in cross-configure.sh to indicate where to install all the stuff.
+
+Library warning
+===============
+You need lib*.a version of libraries if you want compile with -shared modules. You can make them from dll/def/lib using pexport/dlltool (i586-mingw32msvc-dlltool) if they are missing (e.g. sqlite.org gives only dll and def).
+Read http://www.go-evolution.org/Building_Evolution_on_Windows#libxml2 for an exemple with libxml2
+
+Libxml2
+=======
+The windows dev version is missing pc file for pkg-config.
+Read that: http://www.go-evolution.org/Building_Evolution_on_Windows#libxml2
+I have wrote a pc file for it :
+--------------------------
+prefix=/home/ycombe/Win32/98/libxml2-2.6.26.win32
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libXML
+Version: 2.6.26
+Description: libXML library version 2.
+Requires:
+Libs: -L${libdir} -llibxml2 -lz
+--------------------------