Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Using OCaml with microsofts free C++ compiler?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Using OCaml with microsofts free C++ compiler?
From: "Mark Brady" <kalath@lycos.com>

> Microsoft offer their C++ compiler (non optimised version) for free download (no IDE just the SDK) as part of the Dot Net SDK download.
> 
> As this seems to be free for most people and for most uses (even
> commercial) does anybody know if OCaml will work with it or does it
> only work with the older VC++ 6.0 compiler (it's the VC++ 7.0
> compiler that's available for download)?

This works: I could bootstrap ocaml with that.
The only trouble, which was solved by a colleague, is that there is no
lib command included: you must replace it by "link /lib" both in
Makefile.msvc and ocamlopt sources. This means that you cannot use the
ocamlopt from the ocamlwin binary distribution, you would have to
compile it yourself.

Also, the code generated is slower than the professional edition (but
just the same as the student edition).

---------------------------------------------------------------------------
Jacques Garrigue      Kyoto University     garrigue at kurims.kyoto-u.ac.jp
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
-------------------
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