[xiph-commits] r14726 - trunk/ogg

erikd at svn.xiph.org erikd at svn.xiph.org
Mon Apr 14 01:40:46 PDT 2008


Author: erikd
Date: 2008-04-14 01:40:46 -0700 (Mon, 14 Apr 2008)
New Revision: 14726

Modified:
   trunk/ogg/README
Log:
Add explanation of Linux to windows cross compiling to REAME.

Modified: trunk/ogg/README
===================================================================
--- trunk/ogg/README	2008-04-13 12:26:40 UTC (rev 14725)
+++ trunk/ogg/README	2008-04-14 08:40:46 UTC (rev 14726)
@@ -85,6 +85,33 @@
 
 E.g.: build_ogg_dynamic
 
+CROSS COMPILING FROM LINUX TO WIN32:
+
+It is also possible to cross compile from Linux to windows using the MinGW
+cross tools and even to run the test suite under Wine, the Linux/*nix
+windows emulator.
+
+On Debian and Ubuntu systems, these cross compiler tools can be installed
+by doing:
+
+    sudo apt-get mingw32 mingw32-binutils mingw32-runtime wine
+
+Once these tools are installed its possible to compile and test by
+executing the following commands:
+
+    ./configure --host=i586-mingw32msvc --target=i586-mingw32msvc \
+         --build=i586-linux
+    make
+    make check
+
+The above has been tested with the following versions of the tools on
+Ubuntu's Hardy Heron release:
+
+    mingw32             4.2.1.dfsg-1ubuntu1
+    mingw32-binutils    2.17.50-20070129.1-1
+    mingw32-runtime     3.13-1
+    wine                0.9.59-0ubuntu4
+
 BUILDING ON MACOS 9:
 
 Ogg on MacOS 9 is built using CodeWarrior 5.3.  To build it, first



More information about the commits mailing list