Delivered-To: garrigue at math.nagoya-u.ac.jp Delivered-To: lablgtk at yquem.inria.fr Message-ID: <49609017.6050705 at frisch.fr> Date: Sun, 04 Jan 2009 11:31:51 +0100 From: Alain Frisch MIME-Version: 1.0 To: Mike Spivey References: <49608DEE.6000605 at comlab.ox.ac.uk> In-Reply-To: <49608DEE.6000605 at comlab.ox.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr Subject: [Lablgtk] Re: Custom linking for MinGW gives unwanted dependency on cygwin1.dll 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 _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk