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 OAA08677; Tue, 29 May 2001 14:25:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA08669 for caml-list@pauillac.inria.fr; Tue, 29 May 2001 14:25:33 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA08095; Tue, 29 May 2001 14:00:45 +0200 (MET DST) Date: Tue, 29 May 2001 14:00:45 +0200 From: Xavier Leroy To: Tore Lund Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Porting to EPOC Message-ID: <20010529140045.A7610@pauillac.inria.fr> References: <3B1366D0.8FAD3FEC@online.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3B1366D0.8FAD3FEC@online.no>; from tl001@online.no on Tue, May 29, 2001 at 11:07:28AM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk [ Cross-compiling OCaml bytecode for a runtime system containing platform-specific external functions. ] > I notice there is an undocumented compiler switch -use-prims . > Maybe this would solve my problem if I knew the format of ? Yes, -use-prims is exactly what you need. The format is one C function name per line, in the exact order in which they appear in the table cprim[] in byterun/prims.c. Even easier: building the runtime system in byterun produces the file byterun/primitives, which happens to have exactly the right format. Whopee! Have fun with Epoc, - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr