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
b33ca40d
Commit
b33ca40d
authored
Dec 22, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Last-minute update by Chris H.
parent
139a1aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
BeOS/README
BeOS/README
+12
-8
No files found.
BeOS/README
View file @
b33ca40d
...
...
@@ -44,7 +44,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
AR=$(pwd)/BeOS/ar-fake RANLIB=: ./configure --verbose \
--prefix=/boot/home/config --with-thread
If you're on a PowerPC system
, add this anywhere in config.h:
When configure is done
, add this anywhere in config.h:
#ifndef DL_EXPORT
# define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
...
...
@@ -68,14 +68,20 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
part of the Python shared library, be sure to uncomment the #*shared*
line.
I've tried the following modules:
regex pcre posix signal readline array cmath math strop struct time
operator _locale fcntl pwd grp select _socket errno crypt termios
audioop imageop rgbimg md5 timing rotor syslog curses new gdbm soundex
binascii parser cStringIO cPickle zlib
5) Make sure Modules/Makefile.pre has REALLIBRARY set to:
REALLIBRARY=../libpython$(VERSION).so
6) Make:
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT MACHDEP=beos
On PowerPC systems, you'll see lots of warnings about duplicate
symbols when things get linked; don't worry about this, it's
...
...
@@ -83,8 +89,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
7) Test:
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
CCSHARED=-UUSE_DL_EXPORT test
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT test
Expect the following errors:
...
...
@@ -100,8 +105,7 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
8) Install:
make AR=$(pwd)/BeOS/ar-fake RANLIB=: OPT=-DUSE_DL_EXPORT \
CCSHARED=-UUSE_DL_EXPORT install
make OPT=-DUSE_DL_EXPORT CCSHARED=-UUSE_DL_EXPORT install
This will fail trying to copy libpython1.5.a; at that point in the
install, everything you "normally" need is installed (all the Python
...
...
@@ -111,4 +115,4 @@ Python 1.5.2 and later will compile "out of the box" on BeOS), try this:
9) Enjoy!
- Chris Herborth (chrish@qnx.com)
December
18
, 1998
December
22
, 1998
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