Browse thread
Dynlink and ocamlfind for camlp4 3.11?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-10-05 (17:28) |
From: | David Allsopp <dra-news@m...> |
Subject: | RE: [Caml-list] Dynlink and ocamlfind for camlp4 3.11? |
Conglun Yao wrote: > Thanks for all of your help. > > Unfortunately, it still does not work. It is really nightmare to use camp4 in a windows machine. In this instance, it's very much Cygwin that's causing the problem, rather than Windows! I didn't realise that Cygwin's Dynlink only extended to pure bytecode (it used not to have Dynlink at all). > I try to reinstall plain OCaml without using GODI, if the same error happens, I have to go back to Ubuntu. You could try using the -w32port mingw flag for GODI to build the MinGW version of OCaml - you can still use it from Cygwin's bash prompt but you will definitely have a fully functional dynamic loading version. Alternatively, if you want I can email you the instructions change log I use for building MinGW & MSVC OCaml on Windows (one day I'll have the time to put it online <sigh>). Try GODI/MinGW first - building PCRE is not trivial and AFAIK GODI has full build-support for ocaml-pcre on Windows. David