Browse thread
Re: [Caml-list] MingW compiler (!) and Ocaml for Windows
[
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: | -- (:) |
| From: | Adrien <camaradetux@g...> |
| Subject: | Re: [Caml-list] MingW compiler (!) and Ocaml for Windows |
Hi, If I can read correctly, diversion is recent (i.e. ocaml 3.10) ( http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/utils/ccomp.ml.diff?r1=text&tr1=1.1&r2=text&tr2=1.20.4.8 ). For the lazy ones, from ccomp.ml, > if Sys.os_type = "Win32" && String.length s >= 256 > then build_diversion lst > else s 256 is very low. When compiling ocaml, some commands are more than 2100 chars and they don't fail. If there was a 256 character limit I wouldn't compile much things (I can make opt.opt for ocaml and mldonkey compiles completely). >From this page: http://www.accesspdf.com/article.php/2005020713040824 > What about Windows users who use the bash command shell, as packaged by > MSYS? I couldn't find an immediate answer via Google, but I did find a script > that tests this limit. It is used in the libtool configure script. I changed it a little, > and the results of my script (below) suggests you have at least 3145729 > characters, or about 3MB. > This result differs from that cited in the libtool configure script comments (256k > character limit for the mingw environment). I'm sure 256 chars is not the true limit but 256k chars seems too high. Conclusion ? =/ Btw, I am working on having ocaml work better under mingw. You can have a look at this page : http://wiki.cocan.org/ocaml_mingw_port . It doesn't work completely but mostly (in fact it may work for ocaml 3.09). Having a fully functionnal configure script is required for ocaml features not to be determined by the lowest common factor which is pretty low under win32... --- Adrien Nader