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
[Caml-list] help -- how to build a binary file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-30 (10:06)
From: dengping zhu <zhudp@c...>
Subject: [Caml-list] help -- how to build a binary file
Hi, now I am wondering how to build a binary file for my ml code. 
I tried the following ways:
 ocamlopt -cc gcc test.ml
It will create a binary file a.out. But I encountered a problem to pass
some parameters to this executable file. For example:
  > ./a.out 1 2

Did somebody have such experience in passing arguments to a executable
file from command line?

Thanks a lot!
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