Eric Marsden <[EMAIL PROTECTED]> writes: > rif> Question: Can I just load the library I want to call, or do I need to > rif> climb up the tree of dependencies, calling load-foreign on each one > rif> independently? > > if you use SYS::LOAD-OBJECT-FILE instead of EXT:LOAD-FOREIGN, the > dlopen() machinery should load all the dependent libraries for you > automatically. > > rif> program that can start an embedded R, but all attempts to do it from > rif> CMUCL lead to an "Arithmetic error FLOATING-POINT-INVALID-OPERATION > rif> signalled" inside the call > > this is probably because R and CMUCL have different ideas about the > mode that the FPU should be put in (IIRC, CMUCL enables floating > point underflow traps whereas much C code doesn't expect to receive > them). See the function EXT:SET-FLOATING-POINT-MODES.
I think this should be documented somewhere in the alien section of the manual. -- jan
