Skip to content

Port OCaml to mingw-w64 to have 64bit OCaml without MSVC Toolchain #5179

Description

@vicuna

Original bug ID: 5179
Reporter: cullmann
Status: closed (set by @xavierleroy on 2013-08-31T10:49:14Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 3.12.1+dev
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #5478
Monitored by: @protz mehdi @ygrek "Antoine Mine" Camarade_Tux matt @dra27 @Chris00 "Christoph Bauer" @alainfrisch

Bug description

Hi,

I tried to compile OCaml 3.12 on Windows with mingw-w64, the 64bit successor of the old mingw toolchain (which is based on gcc 4.5 and higher).

The 32bit version of mingw-w64 compiles ocaml okay (even if using msys/mingw-64, as now they support @reponsefile and co.)

The 64bit version lacks the generation of 64bit gasm and flexlink support.
I patched flexlink to work (at least it seems so) and patched a bit the asm stuff to have a linking variant, still got segfaults, guess I mixed it up somewhere.

Anyone willing to help me in the porting effort?
Our company will test the port extensively after being done by using it for some dev version of Astree.

Attached current diffs to 3.12-SVN.

Btw., mingw-w64 project: http://mingw-w64.sourceforge.net/

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