[Pkg-ocaml-maint-commits] [SCM] mingw32-ocaml packaging branch, master, updated. 63ccffc2e8c0692a10387137046a7f57e0d460b1
Romain Beauxis
toots at rastageeks.org
Fri Jan 15 23:33:54 UTC 2010
The following commit has been merged in the master branch:
commit 4a0a96eb5e72b57fa311f4db89667abddf1a1d97
Author: Romain Beauxis <toots at rastageeks.org>
Date: Fri Jan 15 17:18:51 2010 -0600
Added README.Debian
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8a58c15
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,38 @@
+This package is a Debian specific build of OCaml shipping a
+cross-compiler using the mingw32 compilation tools.
+
+The target of the compiler is win32, i.e. the compiler
+creates native binary for Windows. By native, we mean
+that the binary are compliant with the original win32
+API/ABI, and do not use a POSIX emulation such as cygwin.
+
+This also means that the compiler may not support some
+unix-specific features, in particular in the domain of
+threads management. The compiler supports, in fact,
+exactly the features supported by the native OCaml compiler
+for Windows.
+
+The package also includes a support for ocamlfind. In
+order to use it, you should set the environment variable
+OCAMLFIND_CONF to /etc/i586-mingw32msvc-ocamlfind.conf.
+
+In order to also force the build system to choose the
+ocaml cross-compiler, you may add /usr/i586-mingw32msvc/bin
+at the beginning of the PATH variable:
+
+ export PATH=/usr/i586-mingw32msvc/bin:$PATH
+
+Eventually, when the build system uses the autoconf tool,
+you can build the C libraries with the following options:
+ ./configure --prefix=/usr/i586-mingw32msvc --host=i586-mingw32msvc
+
+It is convenient to install those libs directly in /usr/i586-mingw32msvc,
+though not very clean. However, it seems that /usr/i586-mingw32msvc/local is
+not recognized by the mingw32 cross-compiler.
+
+This package and the binary it provides are not in any way
+supported by the OCaml original maintainers. For any issue
+with this package, please report a bug on the mingw32-ocaml
+Debian package.
+
+ -- Romain Beauxis <toots at rastageeks.org> Wed, 06 Jan 2010 22:13:02 +0100
--
mingw32-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list