Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
harsha
Posts: 1 Joined: Sun Aug 26, 2007 9:12 pm
Post
by harsha » Tue Sep 04, 2007 11:52 am
I have a precompiled library called:
cts.a
does newlisp support importing of such libraries apart from
.so, .dll etc..
Jeff
Posts: 604 Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:
Post
by Jeff » Tue Sep 04, 2007 12:03 pm
Jeff
=====
Old programmers don't die. They just parse on...
Artful code
pjot
Posts: 733 Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:
Post
by pjot » Thu Sep 06, 2007 6:14 pm
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
Lutz
Posts: 5289 Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:
Post
by Lutz » Thu Sep 06, 2007 6:53 pm
Perhaps you could link the .a object to a shared library this way:
or on Mac OSX
and then use it
Lutz