cpython/RISCOS
Tim Peters 1422e9dc60 SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from
Dietmar Schwertberger.
Bugfix candidate.
"""
RISCOS/Modules/getpath_riscos.c:
Include trailing '\0' when using strncpy [copy
strlen(...)+1 characters].

Lib/plat-riscos/riscospath.py:
Use riscosmodule.expand for os.path.abspath.
[fixes problems with site.py where
abspath("<Python$Dir>") returned
join(os.getcwd(), "<Python$Dir>") as e.g.
"SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>"
wasn't recognised as an absolute path.]
"""
2001-12-15 22:12:47 +00:00
..
Modules SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from 2001-12-15 22:12:47 +00:00
Python Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
support SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
Makefile SF patch #475657 (Dietmar Schwertberger) 2001-10-27 21:16:16 +00:00
pyconfig.h SF patch #474590 -- RISC OS support 2001-10-24 20:04:51 +00:00
README SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
sleep.c SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
unixstuff.c SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00
unixstuff.h SF patch #474590 -- RISC OS support 2001-10-24 20:13:15 +00:00

This directory contains files for the RISC OS port of Python.
For more information about RISC OS see http://www.riscos.com/ .

This port is currently being maintained by Dietmar Schwertberger,
dietmar@schwertberger.de .

On http://www.schwertberger.de you may find compiled versions and libraries
as well as RISC OS specific documentation and extensions.


==========================================================================
Compiling:

1. Extract Files from archive directory 'Python-...' to a directory named
   '!Python'.
2. Use a tool like Rename to change filenames from '*/[ch]' into '[ch].*'.
3. Create missing directories with 'amu cdirs'.
4. Build with 'amu'.

I've only tested Acorn/Norcroft C/C++ 5.30 and amu.

Python now uses the 32 bit libraries from Pace as well as the 32 bit
version of OSLib.

You will also need some additional libraries:

  DLK (patched version)
    http://www.schwertberger.de
  OSLib
    http://www.mk-net.demon.co.uk/oslib
  
  zlib (optional)
    ftp://ftp.freesoftware.com/pub/infozip/zlib/
  expat (optional)
    http://sourceforge.net/projects/expat/
    (makefile and config.h available from http://www.schwertberger.de/riscos_expat.zip