caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlopt under Windows OS
@ 2001-04-30 16:04 vincent
  2001-05-02 18:27 ` [Caml-list] ocamlopt under Windows OS _AND_ Ocamlopt & Windows 2000 Chris Hecker
  0 siblings, 1 reply; 2+ messages in thread
From: vincent @ 2001-04-30 16:04 UTC (permalink / raw)
  To: caml-list

[French at the end]

Hi,

Regarding native code compilation under Windows using VC++ and MASM...

I've just installed VC++ and MASM in the hope to compile some ocaml code using
ocamlopt.
I have no idea at all how this can be done and I did not find any simple example
in the caml-list archives.

Could someone just tell me the command lines to compile (native compilation)
the following files I would compile normally (bytecode compilation) using the
following lines:

  ocamlc -c mytools.mli
  ocamlc -c mytools.ml
  ocamlc -c myfile.mli
  ocamlc -c myfile.ml
  ocamlc -o myexec mytools.cmo myfile.cmo

Thanks a lot

Vincent Leleu

[FRENCH]

Bonjour,

A propos de la compilation native sous Windows, en utilisant VC++ et MASM...


Je viens juste d'installer VC++ et MASM dans l'espoir de compiler du code ocaml
utilisant ocamlopt.
Je n'ai absolument aucune id\'ee de la proc\'edure \`a suivre et je ne trouve
pas d'exemple simple dans les archives de la caml-list.

Y-aurait'il quelqu'un qui pourrait me dire ce que les lignes de commandes suivantes
devraient \^etre dans le cas d'une compilation 'native':

  ocamlc -c mytools.mli
  ocamlc -c mytools.ml
  ocamlc -c myfile.mli
  ocamlc -c myfile.ml
  ocamlc -o myexec mytools.cmo myfile.cmo

D'avance merci

Vincent Leleu

http://uk2.net
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamlopt under Windows OS _AND_ Ocamlopt & Windows 2000
  2001-04-30 16:04 [Caml-list] ocamlopt under Windows OS vincent
@ 2001-05-02 18:27 ` Chris Hecker
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Hecker @ 2001-05-02 18:27 UTC (permalink / raw)
  To: vincent, Raymond.Lachaux, caml-list

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 639 bytes --]


>Could someone just tell me the command lines to compile (native compilation)
>the following files I would compile normally (bytecode compilation) using the
>following lines:

The reference manual talks about the ocamlopt command line.  It's very similar to the ocamlc one.

>Is there a 
>way to use Ocamlopt to obtain a Windows executable code ? I 
>get an error message “assembler error...”  

You need to have MASM installed.  You can find it on Microsoft's web site.  The manual (or INSTALL) for OCaml says where to get it.

Chris

-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-02 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30 16:04 [Caml-list] ocamlopt under Windows OS vincent
2001-05-02 18:27 ` [Caml-list] ocamlopt under Windows OS _AND_ Ocamlopt & Windows 2000 Chris Hecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).