caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] MingW compiler (!) and Ocaml for Windows
@ 2007-08-31 19:32 Dawid Toton
  2007-09-01  1:41 ` Markus E L
  0 siblings, 1 reply; 7+ messages in thread
From: Dawid Toton @ 2007-08-31 19:32 UTC (permalink / raw)
  To: caml-list

 > If on the other side problems with "@responsefile" are only occuring
 > in more rare situation -- can anybody tell me how to provoke the
 > problem?

I was compiling an application using LablGTK to native code (using 
MSYS). AFAIR the linker invocation contained quite long list of 
libraries and ocamlopt decided to use responsefile. I got some 
incomprehensible error message (and only then discovered that I have to 
use Cygwin tools). I have no idea whether the problem with MSYS tools 
still persists. When command parameters were short enough they worked 
seamlessly.

Dawid Toton


^ permalink raw reply	[flat|nested] 7+ messages in thread
* MingW compiler (!) and Ocaml for Windows
@ 2007-08-26 14:07 Markus E L
  2007-08-26 16:06 ` [Caml-list] " Adrien
  0 siblings, 1 reply; 7+ messages in thread
From: Markus E L @ 2007-08-26 14:07 UTC (permalink / raw)
  To: caml-list



Hi Caml riders,

I'd like to ask wether anybody knows about the status of using the
native Win32 port built with Mingw with the standalone MingW compilers
instead of the Cygwin/MingW compilers.

Until recently my state of awareness was what's been written in
http://caml.inria.fr/pub/distrib/ocaml-3.10/notes/README.win32:

   "Do *not* install the Mingw/MSYS development tools from www.mingw.org:
   these are not compatible with this Caml port (@responsefile not
   recognized on the command line)."

Rather accidentally (sourced wrong paths :-) I recently used MinGW
compilers with ocamlopt -- and it worked! I was only partially
suprised, since I've seen patches to MingW gcc floating around
(something like one and a half year ago) that added the
"@responsefile" feature.

Since then I tested a bit more (only with relatively small programs
but also with lablgtk) and it worked for me every time.

Now the question: Would I see the "@responsefile" problem on the first
attempt or are response files only used in certain situations I
perhaps haven't met yet? Can anybody say anything on wether ocamlopt
now works with the MingW compilers (or better wether the MingW
compilers now work with ocamlopt)?

If on the other side problems with "@responsefile" are only occuring
in more rare situation -- can anybody tell me how to provoke the
problem? (Then I'd perhaps be suffieciently interested to try in the
long run to port the missing features from CygWin/MingW to standalone
MingW).

Regards - Markus

PS: I'm using a recent "stable" MingW and the MingW build of ocaml
    3.09.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-01 15:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-31 19:32 [Caml-list] MingW compiler (!) and Ocaml for Windows Dawid Toton
2007-09-01  1:41 ` Markus E L
2007-09-01  5:49   ` kyra
2007-09-01 10:03     ` Adrien
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).