Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Taras <taras.judge@shaw.ca>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlopt and linking
Date: Sun, 12 Dec 2004 00:24:41 -0800	[thread overview]
Message-ID: <41BC0049.8030308@shaw.ca> (raw)
In-Reply-To: <41BBF35D.9060809@shaw.ca>

Taras wrote:

> Hi,
> I'm trying to link an ocamlopt-generated object file into a C program 
> by following instructions on 
> http://caml.inria.fr/ocaml/htmlman/manual032.html
>
> Here is a small testcase: http://glek.net/~taras/os.tar.bz2
>
Neither ocamlc, nor ocamlopt binaries seem to link for me. Am I making a 
mistake somewhere?
In the above testcase,
make MODE=caml attempts to link with ocamlc-generated .o & libcamlrun.a

make MODE=asm uses ocamlopt & libasmrun.a

In above 2 cases I get a different sets of missing symbols.

Thanks,
Taras


  reply	other threads:[~2004-12-12  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-12  7:29 Taras
2004-12-12  8:24 ` Taras [this message]
2004-12-12  9:04 ` [Caml-list] " Xavier Leroy

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=41BC0049.8030308@shaw.ca \
    --to=taras.judge@shaw.ca \
    --cc=caml-list@yquem.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