Changeset 1796 in Sophya
- Timestamp:
- Nov 27, 2001, 3:47:06 PM (24 years ago)
- Location:
- trunk/SophyaLib/SysTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/pdlmgr.cc
r1795 r1796 26 26 This classes handles the run-time operations related to using shared 27 27 libraries. The present version has been adapted for different Unix 28 flavours (Linux, Compaq/Digital Unix, SGI IRIX, IBM AIX, Sun Solaris). 28 flavours (Linux, Compaq/Digital Unix, SGI IRIX, IBM AIX, Sun Solaris, 29 MacOS X/Darwin). 29 30 The example here shows the linking of shared library named "mylib.so" 30 31 containing a function \c double \c myfunction(double x). -
trunk/SophyaLib/SysTools/pdlmgr.h
r895 r1796 12 12 #if defined(HPUX) 13 13 #include <dl.h> 14 #elif defined(Darwin) 15 #include <mach-o/dyld.h> 14 16 #else 15 17 #include <dlfcn.h> … … 41 43 #if defined(HPUX) 42 44 shl_t dlhandle; 45 #elif defined(Darwin) 46 NSObjectFileImage shfim; 47 NSModule shmod; 43 48 #else 44 49 void * dlhandle;
Note:
See TracChangeset
for help on using the changeset viewer.