caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How to produce statically linked binary under Windows?
@ 2004-03-01 18:54 David MENTRE
  2004-03-01 19:06 ` Karl Zilles
  0 siblings, 1 reply; 2+ messages in thread
From: David MENTRE @ 2004-03-01 18:54 UTC (permalink / raw)
  To: caml-list

Hello,

In our project, we would like to produce statically linked binaries for
the Windows platform (in native code).

We have tried to use -static option under cygwin environment but it does
not seems to work, the cygwin1.dll is still required (I don't have done
the work so I don't know the details).

>From an old post, it seems that this is not possible with cygwin:
http://www.cygwin.com/ml/cygwin/2001-12/msg00254.html


Has anybody already produced fully statically linked OCaml binaries
under Windows? Any advice how we could do that? Do you think that using
MinGW instead of Cygwin would solve this issue?


Yours,
d.
-- 
 David Mentré <dmentre@linux-france.org>

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


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

* Re: [Caml-list] How to produce statically linked binary under Windows?
  2004-03-01 18:54 [Caml-list] How to produce statically linked binary under Windows? David MENTRE
@ 2004-03-01 19:06 ` Karl Zilles
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Zilles @ 2004-03-01 19:06 UTC (permalink / raw)
  To: David MENTRE; +Cc: caml-list

David MENTRE wrote:
> Has anybody already produced fully statically linked OCaml binaries
> under Windows? Any advice how we could do that? Do you think that using
> MinGW instead of Cygwin would solve this issue?

Yes, either MinGW or the native Windows OCaml can be used to create 
executables that don't depend on the Cygwin DLL (or any other non OS DLLs).

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


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

end of thread, other threads:[~2004-03-01 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 18:54 [Caml-list] How to produce statically linked binary under Windows? David MENTRE
2004-03-01 19:06 ` Karl Zilles

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).