English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
RE: (native Windows executables)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-05-14 (21:18)
From: Frederic van der Plancke <fvdp@d...>
Subject: RE: (native Windows executables)
Thanks everyone for your answers.
I think I have all information I need for now...

More on this when I'll actually try to produce
such executables, if I get problems.

-- Frédéric van der Plancke.

From: 	Xavier Leroy[SMTP:Xavier.Leroy@inria.fr]
Sent: 	mardi 9 mai 2000 11:14
To: 	fvdp@decis.be; 'caml-list@inria.fr'
Subject: 	Re: your mail

> Can OCaml programs be compiled to native Windows(x86) executables ?

Yes, you can produce standalone Win32 executables, either using the
bytecode compiler ocamlc with the -custom option, or using the
native-code compiler ocamlopt.

> What external programs are needed ? Can Microsoft Visual C++ be of
> some help ?

>From the README.win32 file:

  Linking Caml bytecode with C code (ocamlc -custom) requires the
  Microsoft Visual C++ compiler version 6.

  The native-code compiler (ocamlopt) requires Visual C++ version 6
  and the Microsoft assembler MASM version 6.11 or later.
  MASM can be downloaded for free from Microsoft's Web site;
  see the comp.lang.asm.x86 FAQ for directions, or

Hope this helps,

- Xavier Leroy