Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: Emmanuel Chailloux <Emmanuel.Chailloux@pps.jussieu.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Using the O'Caml toplevel inside a C program
Date: Tue, 14 May 2002 10:59:59 +0200	[thread overview]
Message-ID: <20020514105959.A12423@pauillac.inria.fr> (raw)
In-Reply-To: <98219074-641F-11D6-B61B-0050E4C56074@pps.jussieu.fr>; from Emmanuel.Chailloux@pps.jussieu.fr on Fri, May 10, 2002 at 04:09:51PM +0200

>      I try to use the O'Caml toplevel inside a C program but the result 
> does not run.

That's a limitation of programs built with -output-obj: the symbol
table information that is normally saved in bytecode executable files
is not available in the C object file generated by -output-obj;
consequently, neither dynamic loading via Dynlink nor the toplevel can
work.

It's not trivial to work around this issue, so I haven't addressed it
yet.

- Xavier Leroy
-------------------
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


      reply	other threads:[~2002-05-14  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-09 17:55 [Caml-list] generating random variables Henri Dubois-Ferriere
2002-05-09 18:22 ` David Chase
2002-05-09 18:45 ` Olivier Andrieu
2002-05-10  1:51 ` Shawn Wagner
2002-05-10 14:09   ` [Caml-list] Using the O'Caml toplevel inside a C program Emmanuel Chailloux
2002-05-14  8:59     ` Xavier Leroy [this message]

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=20020514105959.A12423@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=Emmanuel.Chailloux@pps.jussieu.fr \
    --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