I have a precompiled library called:
cts.a
does newlisp support importing of such libraries apart from
.so, .dll etc..
http://www.newlisp.org/CodePatterns.html#extending
Hi,
NewLisp does not support such static libraries, as the call to import a library is 'dlopen' (Unix) or 'LoadLibrary' (Win32). The call 'dlopen' literally means 'Dynamic Library open'.
As far as I know there is no possibility at all to import static libs.
Regards
Peter
Perhaps you could link the .a object to a shared library this way:
cc cts.a -shared -o cts.so
or on Mac OSX
cc cts.a -bundle -o cts.dylib
and then use it
Lutz