Delivered-To: lablgtk at yquem.inria.fr To: lablgtk at math.nagoya-u.ac.jp From: Dawid Toton Date: Thu, 13 Mar 2008 22:16:34 +0100 Lines: 21 Message-ID: References: <20080105182523.GB23595 at annexia.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit In-Reply-To: <20080105182523.GB23595 at annexia.org> Subject: [Lablgtk] Re: Problem linking a lablgtk2 program under MinGW Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 939 Richard Jones pisze: > This is the command which fails: > > ocamlopt.opt \ > -I +lablgtk2 -I ../libvirt unix.cmxa lablgtk.cmxa \ > ../libvirt/mllibvirt.cmxa gtkInit.cmx -o mlvirtmanager.opt mlvirtmanager_helpers.cmx mlvirtmanager_connections.cmx mlvirtmanager_domain_ops.cmx mlvirtmanager_mainwindow.cmx mlvirtmanager.cmx > gcc: at C:/Users/rjones/AppData/Local/Temp/2\camlresp7bf875: Invalid argument > Error during linking > > MinGW's gcc doesn't understand the at syntax for specifying an extended > command line. Although this only happens under lablgtk for me, I'm > not so sure if it isn't a general OCaml problem. In any case does > anyone know how to solve it? > > Rich. > > I had the same problem with MinGW that goes with MSYS. MinGW included in Cygwin works for me. Dawid _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk