diff options
author | Guido van Rossum <guido@python.org> | 1998-08-04 17:59:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-04 17:59:56 (GMT) |
commit | ec95c7bd2bf19a5b5c986a8d7bf34f3862df94a7 (patch) | |
tree | 59dc5dc61efe030b7f3f1d6a77eb8b34eed09676 /README | |
parent | d8eb2119b5f1e165157b5662ea89763e2a925651 (diff) | |
download | cpython-ec95c7bd2bf19a5b5c986a8d7bf34f3862df94a7.zip cpython-ec95c7bd2bf19a5b5c986a8d7bf34f3862df94a7.tar.gz cpython-ec95c7bd2bf19a5b5c986a8d7bf34f3862df94a7.tar.bz2 |
Changes for BeOS, QNX and long long, by Chris Herborth.
Diffstat (limited to 'README')
-rw-r--r-- | README | 42 |
1 files changed, 30 insertions, 12 deletions
@@ -251,27 +251,40 @@ QNX: Chris Herborth (chrish@qnx.com) writes: 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="" + 1) CONFIG_SHELL=/usr/local/bin/bash CC=cc RANLIB=: \ + ./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 curses + array, audioop, binascii, cPickle, cStringIO, cmath, crypt, curses, + errno, fcntl, gdbm, grp, imageop, _locale, math, md5, new, operator, + parser, pcre, posix, pwd, readline, regex, reop, rgbimg, rotor, + select, signal, socket, soundex, strop, struct, syslog, termios, + time, timing, zlib - 3) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash + Newly compiled/tested in 1.5.1: - 4) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash test + audioop, imageop, rgbimgmodule - 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". + 3) make SHELL=/usr/local/bin/bash + + or, if you feel the need for speed: + + make SHELL=/usr/local/bin/bash OPT="-5 -Oil+nrt" + + 4) make SHELL=/usr/local/bin/bash test + + The socket test might fail in the test harness; going through it by + hand shows that they work. - 5) SHELL=/usr/local/bin/bash make SHELL=/usr/local/bin/bash install + A good exercise for the reader: make this work "out of the box". + + Using GNU readline 2.2 seems to behave strangely, but I think that's + a problem with my readline 2.2 port. :-\ + + 5) 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 @@ -279,6 +292,11 @@ QNX: Chris Herborth (chrish@qnx.com) writes: the stack size, edit the Makefile in the Modules directory to read: LDFLAGS = -N 48k +BeOS: Chris Herborth (chrish@qnx.com) writes: + See BeOS/README for notes about compiling/installing Python on + BeOS R3 or later. Note that only the PowerPC platform is supported + at this time, but feel free to try building it on x86. + Cray T3E: Konrad Hinsen writes: 1) Don't use gcc. It compiles Python/graminit.c into something that the Cray assembler doesn't like. Cray's cc seems to work fine. |