[wg-windows] dynlink.cmxa missing in cygwin builds

Makofka, Douglas S Douglas_Makofka at cable.comcast.com
Thu Jul 9 18:51:12 BST 2015

On http://alain.frisch.fr/flexdll.html , it only lists the 32-bit version of gcc supplied with Cygwin as a supported platform. So I guess I'm going back to Cygwin_x86 and trying again. I did trying installing flexlink in the 64-bit version and re-building ocaml-4.02.1 from scratch. ./configure found flexlink ok, but 'make world' failed pretty quickly.

-----Original Message-----
From: Adrien Nader [mailto:adrien at notk.org] 
Sent: Tuesday, July 07, 2015 5:00 PM
To: Makofka, Douglas S
Cc: wg-windows at lists.ocaml.org
Subject: Re: [wg-windows] dynlink.cmxa missing in cygwin builds


On Tue, Jul 07, 2015, Makofka, Douglas S wrote:
> I have OPAM running in Cygwin. I'm trying some basic builds like camlp4. It's choking because dynlink.cmxa isn't in the library. I'm using 4.02.1 .  It is not in the 'system' installation either (4.01.0). I seem to remember some issue with Cygwin and native executables - but it was a few years ago, so maybe I'm imagining things. Anyway, is this an OPAM issue or did I mess up some other configuration?

On cygwin, 32 bits works while 64 bits is very uneven.

As far as I understand (not that you worded it poorly but that I'm really tired), you should ensure you have the flexdll (or flexlink maybe, just look for "flex") and dos2unix packages installed.

You should also check the output from configure and also whether you have unix.cmxa too.

Adrien Nader

More information about the wg-windows mailing list