Skip to content

adapt build system for cross-compilation #5737

@vicuna

Description

@vicuna

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions