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
[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: -- (:)
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
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 Archives:
Bug reports: FAQ:
Beginner's list: