From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA11662; Thu, 10 Oct 2002 21:40:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA11476 for ; Thu, 10 Oct 2002 21:40:36 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from vendian.org (ediacara.ne.client2.attbi.com [24.128.96.133]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g9AJeZ505276 for ; Thu, 10 Oct 2002 21:40:35 +0200 (MET DST) Received: (from mcharity@localhost) by vendian.org (8.11.6/8.11.6) id g9AJge820300; Thu, 10 Oct 2002 15:42:40 -0400 Date: Thu, 10 Oct 2002 15:42:40 -0400 Message-Id: <200210101942.g9AJge820300@vendian.org> To: Chris Hecker CC: caml-list@inria.fr In-reply-to: <4.3.2.7.2.20021010105321.02a9aee8@mail.d6.com> (message from Chris Hecker on Thu, 10 Oct 2002 10:57:03 -0700) Subject: Re: [Caml-list] Suggest ocamlopt's -dstartup place file locally, like -S does. From: Mitchell N Charity Reply-to: mcharity@vendian.org References: <4.3.2.7.2.20021010105321.02a9aee8@mail.d6.com> Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 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