Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] How to produce statically linked binary under Windows?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-03-01 (18:54)
From: David MENTRE <dmentre@l...>
Subject: [Caml-list] How to produce statically linked binary under Windows?

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:

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?

 David Mentré <>

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: