Loading Shared Object files

For the Compleat Fan
Locked
pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Loading Shared Object files

Post by pjot »

Hi Lutz,

In a Win32 environment it is possible to read functions from a DLL. I wonder: is something similar possible for Linux environments? I couldn't find it in the manual, nor in previous posts.

Regards

Peter.

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

>(import "/lib/libc.so.6" "getpid" )
>(getpid)
10645

:-)

But what you ment is probably using newlisp as DLL under windows but
then for linux? (thus newlisp as compiled library?) think thats possible...

Norman.

pjot
Posts: 733
Joined: Thu Feb 26, 2004 10:19 pm
Location: The Hague, The Netherlands
Contact:

Post by pjot »

No, I actually meant your first answer. Nevertheless your remark is interesting as well...

Locked