Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
09fb77f1
Commit
09fb77f1
authored
Sep 06, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEXT shared libs instructions
parent
7f4804ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
Misc/NEXT-NOTES
Misc/NEXT-NOTES
+44
-0
No files found.
Misc/NEXT-NOTES
0 → 100644
View file @
09fb77f1
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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment