[CM] loading .so file in Grace

Matti Koskinen mjkoskin at kolumbus.fi
Mon Nov 10 07:56:57 PST 2014


hi all,

How to load a dynamic .so file? I compiled S7 with HAVE_C_LOADER, but 
loading with load gives undefined symbol some hex-numbers and ELF, if I 
try giving (environment (cons 'init_func 'init_ex)), load gives wrong 
number of arguments in FFI_LOAD.

Running just S7, load works giving  (load "xx.so" (envir....

I'm trying now on Linux, but should be the same on OSX.

thanks

-m



More information about the Cmdist mailing list