Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] MingW compiler (!) and Ocaml for Windows
Date: Sat, 1 Sep 2007 12:03:48 +0200	[thread overview]
Message-ID: <666572260709010303g352ee5e3xfbed05e76b721b32@mail.gmail.com> (raw)
In-Reply-To: <46D8FD5A.2050005@mail.ru>

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


  reply	other threads:[~2007-09-01 10:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 19:32 Dawid Toton
2007-09-01  1:41 ` Markus E L
2007-09-01  5:49   ` kyra
2007-09-01 10:03     ` Adrien [this message]
2007-09-01 15:25       ` Markus E L
2007-09-01 15:13     ` Leypold Software-Dienstleistungen
  -- strict thread matches above, loose matches on Subject: below --
2007-08-26 14:07 Markus E L
2007-08-26 16:06 ` [Caml-list] " Adrien

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=666572260709010303g352ee5e3xfbed05e76b721b32@mail.gmail.com \
    --to=camaradetux@gmail.com \
    --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