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
Road to native windows OCaml...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-15 (09:42)
From: David Allsopp <dra-news@m...>
Subject: RE: [Caml-list] Road to native windows OCaml...
Kuba Ober wrote:
> On Tuesday 14 October 2008, David Allsopp wrote:
> > Kuba Ober wrote:
> > > I've looked briefly at what it'd take to have OCaml
> > > fully working natively (with mingw/VS), without any Cygwin
> > > needed for compilation.
> >
> > Can I ask what the motivation is for this (out of interest, not
> > criticism)?
> > It only takes a matter of minutes to install Cygwin and it can be
> > completely ignored once OCaml is compiled (I don't even have Cygwin in 
> > my PATH).
> The motivation is that I'm allergic to Cygwin. And you're not quite right
> that
> Cygwin is not needed later on: it is if you need to generate native code,
> or link with native code.

Sorry - by "needed" I mean you don't need to run Cygwin's bash to use OCaml.
The final stage of my OCaml installation procedure involves copying the
required Cygwin binaries (ar.exe, as.exe, cygiconv-2.dll, cygintl-3.dll,
cygintl-8.dll, cygwin1.dll, dlltool.exe, gcc.exe and ranlib.exe) to OCaml's
bin directory at which point OCaml "uses" Cygwin but I don't have to. I
wasn't meaning that you could uninstall it after compilation...