Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: b6b43e00f8ba7ffd142795d2ed2e340e4a897a95 authored by cvs2svn on 08 August 1996, 19:05:09 UTC
This commit was manufactured by cvs2svn to create tag 'r14beta2'.
Tip revision: b6b43e0
bindit
#!/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 ..
back to top