caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* OCaml and C code in a dynamic library
@ 2007-03-29 22:22 Joel Reymont
  2007-03-29 23:26 ` [Caml-list] " Pablo Polvorin
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2007-03-29 22:22 UTC (permalink / raw)
  To: Caml List

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/






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-03  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-29 22:22 OCaml and C code in a dynamic library Joel Reymont
2007-03-29 23:26 ` [Caml-list] " Pablo Polvorin
2007-04-03  8:15   ` Richard Jones

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).