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
b7f454d1
Commit
b7f454d1
authored
Dec 02, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add attributions to Jeffrey Ollie and Tim Peters for re.py; new QNX
section from Chris Herborth.
parent
49545950
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
4 deletions
+33
-4
README
README
+33
-4
No files found.
README
View file @
b7f454d1
...
@@ -26,7 +26,8 @@ Misc/NEWS. Some highlights:
...
@@ -26,7 +26,8 @@ Misc/NEWS. Some highlights:
- The new "re" module (Perl style regular expressions) is here. It
- The new "re" module (Perl style regular expressions) is here. It
is based on Philip Hazel's pcre code; the Python interfaces were put
is based on Philip Hazel's pcre code; the Python interfaces were put
together by Andrew Kuchling. The regex module is declared obsolete.
together by Andrew Kuchling, Tim Peters and Jeffrey Ollie. The
regex module is declared obsolete.
- In support of the re module, a new form of string literals is
- In support of the re module, a new form of string literals is
introduced, "raw strings": e.g. r"\n" is equal to "\\n".
introduced, "raw strings": e.g. r"\n" is equal to "\\n".
...
@@ -306,9 +307,37 @@ SunOS 4.x: When using the standard "cc" compiler, certain modules may
...
@@ -306,9 +307,37 @@ SunOS 4.x: When using the standard "cc" compiler, certain modules may
NeXT: To build fat binaries, use the --with-next-archs switch
NeXT: To build fat binaries, use the --with-next-archs switch
described below.
described below.
QNX: Edit the top level Makefile to use the following compile options:
QNX: Chris Herborth (chrish@qnx.com) writes:
OPT = -Ox -Q -U_M_IX86 -U__WATCOMC__
configure works best if you use GNU bash; a port is available on
Edit the Makefile in the Modules directory to read:
ftp.qnx.com in /usr/free. I used the following process to build,
test and install Python 1.5 under QNX:
1) SHELL=/usr/local/bin/bash CC=cc CFLAGS=-5 -O RANLIB=: \
bash ./configure --verbose --without-gcc --with-libm=""
2) copy Modules/Setup.in to Modules/Setup; edit Modules/Setup to
activate everything that makes sense for your system... tested
here at QNX with the following modules:
regex reop pcre posix signal readline array cmath math strop
struct time operator _locale fcntl pwd grp crypt select socket
errno termios audioop imageop rgbimg md5 timing rotor syslog
new gdbm soundex binascii parser cStringIO cPickle zlib
3) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash
4) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash test
The socket, strftime and possibly gdbm tests might fail in the
test harness; going through them by hand shows that they work.
A good exercise for the reader: make these work "out of the box".
5) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash install
If you get SIGSEGVs while running Python (I haven't yet, but I've
only run small programs and the test cases), you're probably running
out of stack; the default 32k could be a little tight. To increase
the stack size, edit the Makefile in the Modules directory to read:
LDFLAGS = -N 48k
LDFLAGS = -N 48k
Cray T3E: Konrad Hinsen writes:
Cray T3E: Konrad Hinsen writes:
...
...
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