caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: John Whitington <john@pepperfish.net>
To: caml-list@inria.fr
Subject: OS X, main program in C, No bytecode file specified
Date: Thu, 15 Feb 2007 10:33:21 +0000	[thread overview]
Message-ID: <1171535601.45d436f159d33@secure.pepperfish.net> (raw)

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


                 reply	other threads:[~2007-02-15 10:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1171535601.45d436f159d33@secure.pepperfish.net \
    --to=john@pepperfish.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).