[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#461125: Compiling libasmrun.a with -fPIC



Hi Joost,

I was wondering whether you could detail your setup.  I tried the
following and it didn't work:

- Download the Ocaml source
- Do ./configure -cc "gcc -fPIC"
- Build Ocaml
- Try to compile a shared library which links to the new libasmrun.a

I still get the relocations error.

To be extra specific, I'm trying to compile a shared library which
contains both C and Ocaml code where the C code calls Ocaml via
callbacks.

Thanks a lot in advance.
-- 
Eric Hielscher



Reply to: