Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml and C code in a dynamic library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: OCaml and C code in a dynamic library
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/