caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] help -- how to build a binary file
@ 2002-08-29 19:39 dengping zhu
  0 siblings, 0 replies; only message in thread
From: dengping zhu @ 2002-08-29 19:39 UTC (permalink / raw)
  To: Ocaml

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!
Dengping
-------------------
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-30 10:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 19:39 [Caml-list] help -- how to build a binary file dengping zhu

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).