English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ocaml-pcre et mingw
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-21 (16:21)
From: Alain.Frisch@e...
Subject: [Caml-list] ocaml-pcre et mingw

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
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?



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