From: Alain.Frisch@ens.fr
To: Caml list <caml-list@inria.fr>
Cc: Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
Subject: [Caml-list] ocaml-pcre et mingw
Date: Fri, 21 Nov 2003 17:21:46 +0100 (MET) [thread overview]
Message-ID: <Pine.SOL.4.44.0311211651020.13734-100000@clipper.ens.fr> (raw)
Hello,
I'm trying to build pcre-ocaml with the mingw port of OCaml for
Windows. Has anyone succeeded to do it?
My best guess was to compile with "make CFLAGS=-mno-cygwin" and
STATIC=yes (in Makefile.conf), but when I try to link a program, I get:
$ ocamlfind ocamlc -package pcre -linkpkg -o x x.ml
C:/ocamlmgw/lib/site-lib\pcre/libpcre_stubs.a(pcre_stubs.o.b)(.text+0xee7):pcre_
stubs.c: undefined reference to `__ctype_'
collect2: ld returned 1 exit status
Error while building custom runtime system
I guess I have to say somewhere that I want to link for mingw, not cygwin.
Can anyone help?
Cheers,
Alain
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
reply other threads:[~2003-11-21 16:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.SOL.4.44.0311211651020.13734-100000@clipper.ens.fr \
--to=alain.frisch@ens.fr \
--cc=Giuseppe.Castagna@ens.fr \
--cc=caml-list@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