From: "David Allsopp" <dra-news@metastack.com>
To: "'Alain Frisch'" <alain@frisch.fr>
Cc: "'OCaml List'" <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] Building pcre-ocaml on OCaml 3.11.0 on MinGW
Date: Thu, 23 Apr 2009 12:11:46 +0100 [thread overview]
Message-ID: <001f01c9c404$4cb8c2e0$e62a48a0$@com> (raw)
In-Reply-To: <49F03546.90001@frisch.fr>
> Hi David,
>
> David Allsopp wrote:
> > I've just had an enlightening few hours getting pcre-ocaml to compile
> under
> > Windows
> >...
> > The main thing that's got me puzzled is the renaming of libpcre.dll.a
> and
> > libpcre.a that I have to do to get the thing to link.
>
> Thanks for investigating this issue! The current SVN version of
> flexlink prefers XXX.dll.a over XXX.a. We will see whether it solves
> more problems than it creates... Of course, it is always possible to
> pass explicitly the complete file name instead of -lXXX.
Marvellous - I'll have a play when I have a spare minute <sigh>
> To build and use ocaml-pcre, I've had to remove the "-I /usr/include"
> from this line in OCamlMakefile:
>
> CFLAGS_WIN32 := -mno-cygwin -I /usr/include
> Otherwise, Cygwin's headers are used instead of mingw's ones (in
> /usr/include/mingw), and we get a dependency e.g. to the Cygwin symbol
> _ctype_ which is not available on mingw. Have you had to do something
> similar?
I last built with 5.15.1 which didn't have this line (just -mno-cygwin) but
I see that I'm behind (and Gerd's confirmed the problem, anyhow...)
David
prev parent reply other threads:[~2009-04-23 11:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 14:28 David Allsopp
2009-02-20 19:07 ` [Caml-list] " Gerd Stolpmann
2009-04-23 9:30 ` Alain Frisch
2009-04-23 10:34 ` Gerd Stolpmann
2009-04-23 11:11 ` David Allsopp [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001f01c9c404$4cb8c2e0$e62a48a0$@com' \
--to=dra-news@metastack.com \
--cc=alain@frisch.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox