From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 39A8CBC6C for ; Thu, 15 Feb 2007 11:33:25 +0100 (CET) Received: from seabass.pepperfish.net (pike.pepperfish.net [62.197.40.8]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1FAXNoP013936 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 15 Feb 2007 11:33:25 +0100 Received: from nobody by seabass.pepperfish.net with local (Exim 4.50 #1 (Debian)) id 1HHdvV-0003A3-E0 for ; Thu, 15 Feb 2007 10:33:21 +0000 Received: from 81.101.136.177 ([81.101.136.177]) by secure.pepperfish.net (IMP) with HTTP for ; Thu, 15 Feb 2007 10:33:21 +0000 Message-ID: <1171535601.45d436f159d33@secure.pepperfish.net> Date: Thu, 15 Feb 2007 10:33:21 +0000 From: John Whitington To: caml-list@inria.fr Subject: OS X, main program in C, No bytecode file specified MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Miltered: at concorde with ID 45D436F3.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bytecode:01 ocaml:01 ocamlopt:01 -output-obj:01 bug:01 bytecode:01 ocamlc:01 -output-obj:01 camlrun:01 asmrun:01 ocaml:01 osx:01 xcode:98 compile:01 compile:01 Dear all, I have a main program in C, and some ocaml code. I usually compile to native code using ocamlopt -output-obj and then have XCode compile the C and link the whole together. This works well. However, due to a bug which prevents my using natively compiled code at the moment, I'm trying to replicate the situation with bytecode. So now, I use ocamlc -output-obj, and link camlrun instead of asmrun. This compiles and links but, when run, gives "No bytecode file specified". The executable is not being stripped. I'm using Ocaml 3.09.3 on OSX 10.4/ppc. Can anyone suggest what may be wrong? -- John Whitington