caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: OCaml and C code in a dynamic library
Date: Thu, 29 Mar 2007 23:22:27 +0100	[thread overview]
Message-ID: <2A0CAD37-6509-4FD8-A5C0-D704C7E17E2A@gmail.com> (raw)

Has anyone succeeded in wrapping OCaml code in a dynamic library for  
use in C?

I can build a static OCaml library without any problems but when I  
try to package that and some other C code in a dynamic library I get  
errors like this on Mac OSX:

/usr/bin/ld: ./libfib.a(fibcaml.o) has local relocation entries in  
non-writable section (__TEXT,__text)

	Thanks, Joel

--
http://wagerlabs.com/






             reply	other threads:[~2007-03-29 22:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-29 22:22 Joel Reymont [this message]
2007-03-29 23:26 ` [Caml-list] " Pablo Polvorin
2007-04-03  8:15   ` Richard Jones

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=2A0CAD37-6509-4FD8-A5C0-D704C7E17E2A@gmail.com \
    --to=joelr1@gmail.com \
    --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).