-
Notifications
You must be signed in to change notification settings - Fork 1.2k
adapt build system for cross-compilation #5737
Description
Original bug ID: 5737
Reporter: william
Status: assigned (set by meyer on 2012-12-30T03:13:09Z)
Resolution: open
Priority: normal
Severity: feature
Platform: mxe
OS: linux
Version: 3.12.1
Category: configure and build/install
Tags: patch
Related to: #6613
Monitored by: J5lx william @glondu @xclerc Camarade_Tux kerneis jm @hcarty
Bug description
Hello,
I am using mxe on linux to cross-compile my application for windows. It uses camlimages, lablgtk2, lablgl, cairo, xml-light (and ocamlbuild+findlib)
Mxe is a platform for cross-compilation, it includes patches and make commands for hundreds of packages.
http://mxe.cc/ (main site)
https://github.com/mxe/mxe (sources)
https://github.com/william3/mxe (fork being integrated)
To build ocaml I adapted debian patches maintained by Romain Beauxis, to make it usable with many different targets (i686-pc-mingw32, i686-w64-mingw32, x86_64-w64-mingw32 for 32/64bits targets).
Though it works fine with ocaml 3.12.1, I would like :
- to get your feed back if possible, to know if the process could be simplified (I do not really understand the patch)
- to know if you could integrate part of the code for next versions
Best regards,
William
File attachments
- 0001-Do-not-run-tests-when-cross-compiling.patch
- 0001-build-always-build-lex-tools-and-ocamlc-with-the-com-fixed.patch
- 0001-build-avoid-an-unneeded-gnu-style-conditional-in-Mak.patch
- 0001-build-fix-build-on-Windows.patch
- 0001-build-fix-make-clean-failure-when-.-configure-hasn-t.patch
- 0001-build-ocamlmklib-on-Windows-expect-a-Windows-style-p.patch
- 0001-build-pass-f-Makefile.nt-to-sub-make-processes-of-Ma.patch
- 0001-build-replace-build-mk-config-myocamlbuild_config-.s-2.patch
- 0001-build-replace-build-mk-config-myocamlbuild_config-.s.modified.patch
- 0001-build-replace-build-mk-config-myocamlbuild_config-.s.patch
- 0001-build-skip-IFLEXDIR-in-mk_shell_and_ocamlbuild_confi.patch
- 0001-build-typo-that-recursively-called-the-wrong-make-ru.patch
- 0001-config-Makefile.mingw64-remove-redundant-mms-bitfiel.patch
- 0001-myocamlbuild.ml-only-build-with-.opt-compilers-if-th.patch
- 0001-various-patches-to-build-an-ocaml-cross-compiler.patch
- 0002-.gitignore-ignore-vim-temp-files-and-.cm-stuff.patch
- 0002-build-always-build-lex-and-tools-with-the-compiler-f.patch
- 0002-build-don-t-use-make-s-C-it-s-not-available-everywhe.patch
- 0002-build-typo-on-config-Makefile.mingw64-msvc-and-msvc6.patch
- 0003-configure-use-stderr-for-all-messages-targetted-at-t.patch
- 0004-build-fix-filename-case.patch
- 0005-build-prefer-forward-slashes-to-backward-slashes.patch
- 0006-configure-fix-detection-of-non-working-C-compiler.patch
- 0007-configure-remove-unused-variable-from-case.in-test.patch
- 0008-configure-remove-unused-variable-from-case.in-test.patch
- 0009-configure-add-target-and-use-target-instead-of-host-.patch
- 0010-configure-when-cross-compiling-set-TOOLPREF-and-use-.patch
- 0011-configure-support-cross-compilation-with-mingw.patch
- 0012-windows-makefiles-remove-unused-DO-variable.patch
- 0013-windows-makefiles-use-dll-for-the-SO-extension.patch
- cross-build_20130829.tar.gz
- cross-patches-2013-07-27-configure-to-disable-ocamldebug-ocamlbuild-ocamldoc.tar.gz
- cross-patches-2013-09-07-fixed.tar.gz
- cross-patches-2013-09-07.tar.gz
- cross-patches-rev2-2012-12-29.tar.gz
- cross-patches-rev2-2013-02-17.tar.gz
- cross-patches-rev4-2013-02-24.tar.gz
- cross-patches-rev4-2013-06-27-non-specific.tar.gz
- cross-patches-rev4-2013-06-28-safe2.tar.gz
- cross-patches-rev4-2013-07-01-safe3.tar.gz
- fix-build-failures-2013-07-01.tar.gz
- patches_dump.tar.gz