Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Suggest ocamlopt's -dstartup place file locally, like -S does.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Suggest ocamlopt's -dstartup place file locally, like -S does.

>I am using ocamlopt to generate object files which can be loaded by
>_non_ ocaml processes.

Isn't this what the -output-obj flag is for?  You get a .o that exports 
caml_startup(argv) and that's that.

http://caml.inria.fr/ocaml/htmlman/manual032.html#s:embedded-code

Chris

PS. The #name links in the manual don't seem to work?  You'll have to 
scroll down...search for output-obj on that page.


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