Browse thread
[Caml-list] Suggest ocamlopt's -dstartup place file locally, like -S does.
-
Mitchell N Charity
-
Chris Hecker
- Mitchell N Charity
-
Chris Hecker
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Mitchell N Charity <mcharity@v...> |
| Subject: | Re: [Caml-list] Suggest ocamlopt's -dstartup place file locally, like -S does. |
Isn't this what the -output-obj flag is for?
Yes. Thank you.
Sigh -- perils of late-night programming.
Though it was fun reading the compiler.
Thanks for your help.
Sorry for the list noise,
Mitchell
Message-Id: <4.3.2.7.2.20021010105321.02a9aee8@mail.d6.com>
Date: Thu, 10 Oct 2002 10:57:03 -0700
To: mcharity@vendian.org, caml-list@inria.fr
From: Chris Hecker <checker@d6.com>
Subject: Re: [Caml-list] Suggest ocamlopt's -dstartup place file
locally, like -S does.
In-Reply-To: <200210101655.g9AGt5118720@vendian.org>
>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
-------------------
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