Re: dynamic loading on Linux?

Brian E. Gallew (geek+@CMU.EDU)
Sun, 23 Apr 1995 16:54:41 -0400

I built python-1.2 under linux 1.2.5. It's 21368 bytes long, BUT that
doesn't include the special libraries (libPython(169k), libParser(32k),
libObjects(101k), libModules(23k)). I made use of the BETA ELF
compiler. Add -fpic to the CFLAGS, change the library targets
appropriately (I won't go into that here), edit Modules/Setup to
almost everything as modules, and go! Woops, almost forgot, the the
Python directory, there is an import_dl.c (or something like that).
Look for the define that lets the dlopen function do the right thing.

=====================================================================
| It's nice to be important, but it's *important* to suck up to the |
| sysadmin -- Me |
=====================================================================
| Finger geek@cmu.edu for my public key. |
=====================================================================