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 (15:29)
From: Dmitry Bely <dmitry.bely@g...>
Subject: Re: [Caml-list] Re: Road to native windows OCaml...
On Wed, Oct 15, 2008 at 6:35 PM, Kuba Ober <> wrote:
> On Wednesday 15 October 2008, Dmitry Bely wrote:
>> On Wed, Oct 15, 2008 at 4:35 PM, Kuba Ober <> wrote:
>> >> For example, if you download and install OCaml MSVC from
>> >> and you open a MS Visual Studio 2005 MSDOS shell,
>> >> you can perfectly compile a native application (well I have not done it,
>> >> but I will try tomorrow ;-)
>> >>
>> >> All you need is "cl", "ml" and "link" I think (all are MSVC tools).
>> >
>> > And you need masm too, right?
>> "ml" is just that masm. It's included into MS Visual Studio
>> Professional edition and up. For Standard edition and below there is
>> free
> masm32 has an absolutely horrendous license -- have you read it? It's
> crazy.

OK, I was wrong: masm (ml.exe) is already included into all non-free
Visual Studio 2008 editions and into free Express edition since 2008
SP1. So now it's not a problem at all.

> ml of course should be used if available, but otherwise nasm is there and
> is what should be used whenver masm is called for and unavailable.

Nasm and masm syntaxes differ. You cannot simply interchange them.

- Dmitry Bely