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 UAA08817; Thu, 10 Oct 2002 20:07:32 +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 UAA08922 for ; Thu, 10 Oct 2002 20:07:30 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by concorde.inria.fr (8.11.1/8.11.1) with SMTP id g9AI7T502551 for ; Thu, 10 Oct 2002 20:07:29 +0200 (MET DST) Received: (qmail 81100 invoked from network); 10 Oct 2002 18:07:27 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 10 Oct 2002 18:07:27 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20021010105321.02a9aee8@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >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