@@ -26,7 +26,8 @@ Misc/NEWS. Some highlights:
2626
2727 - The new "re" module (Perl style regular expressions) is here. It
2828 is based on Philip Hazel's pcre code; the Python interfaces were put
29- together by Andrew Kuchling. The regex module is declared obsolete.
29+ together by Andrew Kuchling, Tim Peters and Jeffrey Ollie. The
30+ regex module is declared obsolete.
3031
3132 - In support of the re module, a new form of string literals is
3233 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
306307NeXT: To build fat binaries, use the --with-next-archs switch
307308 described below.
308309
309- QNX: Edit the top level Makefile to use the following compile options:
310- OPT = -Ox -Q -U_M_IX86 -U__WATCOMC__
311- Edit the Makefile in the Modules directory to read:
310+ QNX: Chris Herborth (
[email protected] ) writes:
311+ configure works best if you use GNU bash; a port is available on
312+ ftp.qnx.com in /usr/free. I used the following process to build,
313+ test and install Python 1.5 under QNX:
314+
315+ 1) SHELL=/usr/local/bin/bash CC=cc CFLAGS=-5 -O RANLIB=: \
316+ bash ./configure --verbose --without-gcc --with-libm=""
317+
318+ 2) copy Modules/Setup.in to Modules/Setup; edit Modules/Setup to
319+ activate everything that makes sense for your system... tested
320+ here at QNX with the following modules:
321+
322+ regex reop pcre posix signal readline array cmath math strop
323+ struct time operator _locale fcntl pwd grp crypt select socket
324+ errno termios audioop imageop rgbimg md5 timing rotor syslog
325+ new gdbm soundex binascii parser cStringIO cPickle zlib
326+
327+ 3) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash
328+
329+ 4) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash test
330+
331+ The socket, strftime and possibly gdbm tests might fail in the
332+ test harness; going through them by hand shows that they work.
333+ A good exercise for the reader: make these work "out of the box".
334+
335+ 5) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash install
336+
337+ If you get SIGSEGVs while running Python (I haven't yet, but I've
338+ only run small programs and the test cases), you're probably running
339+ out of stack; the default 32k could be a little tight. To increase
340+ the stack size, edit the Makefile in the Modules directory to read:
312341 LDFLAGS = -N 48k
313342
314343Cray T3E: Konrad Hinsen writes:
0 commit comments