Mercurial > cpython-lru_cache-weakref
diff Modules/bindit @ 3733:b250b270dbd4 legacy-trunk
aix sharedlib helpers
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 26 Jun 1996 21:15:02 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Modules/bindit Wed Jun 26 21:15:02 1996 +0000 @@ -0,0 +1,33 @@ +#!/bin/ksh + +################################# +# AIX shared library helper # +################################# + +# ------------------------------------------------------------ +# This script should be in the Modules directory, and I run it +# (from there) after having built all the shared objects. +# ------------------------------------------------------------ + +# -------------------------------------------------- +# Create the export file which will list all symbols +# that the statically linked python executable has +# to make available to dynamically loaded modules. +# -------------------------------------------------- +sort -u *.imp > python.exp + +# --------------------------------------------------------------------- +# Link the python executable. I think this is exactly the same command +# which the unmodified python makefile comes up with, except for the +# addition of the -bE: argument. +# --------------------------------------------------------------------- +cc -O main.o config.o getpath.o libModules.a ../Python/libPython.a \ + ../Objects/libObjects.a ../Parser/libParser.a -lm -lc -lg \ + -H512 -T512 -bE:python.exp \ + -o python + +# ----------------------------------------------------------------- +# Install the Python executable up one directory from Modules (just +# like the unmodified makefile does). +# ----------------------------------------------------------------- +mv python ..
