diff options
author | erikd <erikd@xiph.org> | 2008-04-14 08:40:46 +0000 |
---|---|---|
committer | erikd <erikd@xiph.org> | 2008-04-14 08:40:46 +0000 |
commit | c80da3c24ccde3fd6f7c4a69e6c38dd7fcb837af (patch) | |
tree | 0ba5da9f44e3ab33397a93d2dbda2f5e847958bf /README | |
parent | 537fd89ed20bd6ec7a156cfc273ef309f407fd40 (diff) | |
download | ogg-c80da3c24ccde3fd6f7c4a69e6c38dd7fcb837af.tar.gz |
Add explanation of Linux to windows cross compiling to REAME.
git-svn-id: http://svn.xiph.org/trunk/ogg@14726 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'README')
-rw-r--r-- | README | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -85,6 +85,33 @@ You can also run one of the batch files from the commandline. 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 |