summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-06 16:13:30 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-06 16:13:30 (GMT)
commit566b35f1c367939dc25bd19bba3f65a348e730a0 (patch)
tree32667520535f11c2db6edca9a16086ac47420d97 /Misc
parent42b78e644164b4aee732fd78f3ca07c8ce11420c (diff)
downloadcpython-566b35f1c367939dc25bd19bba3f65a348e730a0.zip
cpython-566b35f1c367939dc25bd19bba3f65a348e730a0.tar.gz
cpython-566b35f1c367939dc25bd19bba3f65a348e730a0.tar.bz2
NEXT shared libs instructions
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEXT-NOTES44
1 files changed, 44 insertions, 0 deletions
diff --git a/Misc/NEXT-NOTES b/Misc/NEXT-NOTES
new file mode 100644
index 0000000..09745cd
--- /dev/null
+++ b/Misc/NEXT-NOTES
@@ -0,0 +1,44 @@
+Subject: dynamic loading on NeXTSTEP
+From: horst@il.us.swissbank.com (Ted Horst)
+To: python-list@cwi.nl
+Date: Fri, 6 Sep 1996 15:02:26 GMT
+X-Newsgroups: comp.lang.python
+X-Organization: Swiss Bank Corporation CM&T Division
+
+
+These are the steps that I took to get dynamic loading working under NeXTSTEP
+(3.3 m68k, i486) for Python1.4beta3 (including the Numeric stuff).
+Unfortunately, I don't know anything about the configure scripts, so I don't
+know how to fix these things properly, but this works for me. I would be
+interested in how other people have done this as well.
+
+/configure --prefix=/home/horst/Unix --with-readline=/home/horst/Unix/lib
+--with-thread --with-next-archs='m68k i486' --without-libm
+
+edit Python/importdl.c
+ under:
+ #ifdef USE_RLD
+ add:
+ #define SHORT_EXT ".a"
+ #define LONG_EXT "module.a"
+
+edit Modules/Setup
+ uncomment *shared*
+ (other editing as desired)
+
+make (just to create the Makefiles)
+
+edit Makefiles
+ change all AR= ar to AR = libtool
+ change all $(AR) cr ... to $(AR) -o ...
+ in Modules/Makefile change:
+ libm =
+ LDSHARED= cc -r -nostdlib $(CFLAGS)
+ CCSHARED= -r -nostdlib
+ LINKFORSHARED= -u libsys_s
+
+make "OPT=-O3 -fschedule-insns2 -ObjC -arch m68k -arch i486"
+
+
+Ted Horst
+(not speaking for Swissbank)