Re: Custom linking for MinGW gives unwanted dependency on cygwin1.dll
Alain Frisch <[email protected]> Sun, 04 Jan 2009 11:31:51 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
On 1/4/2009 11:22 AM, Mike Spivey wrote: > I'm using the MinGW port of OCaml under Cygwin and trying to build a > self-contained native windows application that uses lablgtk2. What I > find is that linking with 'ocamlc -custom' results in an executable that > depends on cygwin1.dll. Further investigation reveals that cygwin1.dll > is being used for some math functions, and that adding '-ccopt > -L/lib/mingw' solves the problem. Oops, flexlink used /lib and /lib/mingw, in this order, and they should be swapped. This will be fixed in the next released. Thanks for the feedback. Alain