diff options
author | Skip Montanaro <skip@pobox.com> | 2003-01-06 17:14:28 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-01-06 17:14:28 (GMT) |
commit | ead73b88dab9fa2cf82b049e4f9f5839156d360f (patch) | |
tree | 642c38fae91f523552a300f4b244414a01fc6f0c /Misc | |
parent | 488609e43af797bcc23beb5d8d20731a45d8a982 (diff) | |
download | cpython-ead73b88dab9fa2cf82b049e4f9f5839156d360f.zip cpython-ead73b88dab9fa2cf82b049e4f9f5839156d360f.tar.gz cpython-ead73b88dab9fa2cf82b049e4f9f5839156d360f.tar.bz2 |
removing - contains outdated information
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/HPUX-NOTES | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Misc/HPUX-NOTES b/Misc/HPUX-NOTES deleted file mode 100644 index 6f9c67f..0000000 --- a/Misc/HPUX-NOTES +++ /dev/null @@ -1,24 +0,0 @@ -Subject: Dynamic Linking under HP-UX -From: "C. Derek Fields" <derek@gamekeeper.bellcore.com> -Date: Thu, 08 Sep 94 14:14:07 -0400 - -There are two important points. First, the python executable must be -linked with the -E option to explicitly export all symbols. This -works with the vanilla interpreter, but I am not sure how friendly it -will be when I try to embed the interpreter in a larger application. -It may be necessary to hand tune the exports using the -e option. -Anyway, the additional flag to $(CC) is "-Wl,-E", which passes the -E -flag to the compiler. My link line (from an actual run) looks like -this: - -cc config.o -Wl,-E libModules.a ../Python/libPython.a ../Objects/libObjects.a ../Parser/libParser.a -lm -ldld -o python - -[Guido's note: as of Python 1.5, replace the four libraries with -../libpython$(VERSION).a] - -Second, the dynamic module must be compiled with the +z option to make -it position independent and then linked into a shared library: - -ld -b -o <modName>module.sl <object list> - -The -b tells the linker to produce a shared library. |