Re: Compiling with Cygwin/MinGW

Richard Jones <[email protected]>
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
On Tue, Sep 04, 2007 at 02:36:20AM +0200, Dawid Toton wrote:
> I'm trying to compile LablGTK (current version from SVN) on Cygwin + 
> MinGW. But I have no ocamlmklib (it's only with pure Cygwin port).
> Do I have to write new makefile, which would mimic behaviour of ocamlmklib?
> Did anybody manage to compile LablGTK with MinGW tools?
> Is it possible to stole ocamlmklib from Cygwin port and force it to do 
> things correctly?

If you're still looking into how to do this, I worked out how to do it
using a pure Makefile, but copying one of the OCaml 'Makefile.nt's.
See:

http://hg.et.redhat.com/virt/applications/virt-top--devel?f=f85239797282;file=libvirt/Makefile.in

starting around line 73.

Rich.

-- 
Richard Jones
Red Hat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.