diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-11 06:22:31 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-11 06:22:31 (GMT) |
commit | f90ae20354ceb501f0ba0b6459df17f1a8005a47 (patch) | |
tree | f9aae742cfa33ba10af2ed8152aff802430f626c /Misc/AtheOS-NOTES | |
parent | 7981ce576c719e291dc901a3463e725b6be3c50e (diff) | |
download | cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.zip cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.tar.gz cpython-f90ae20354ceb501f0ba0b6459df17f1a8005a47.tar.bz2 |
Patch #488073: AtheOS port.
Diffstat (limited to 'Misc/AtheOS-NOTES')
-rw-r--r-- | Misc/AtheOS-NOTES | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/Misc/AtheOS-NOTES b/Misc/AtheOS-NOTES new file mode 100644 index 0000000..8138f7a --- /dev/null +++ b/Misc/AtheOS-NOTES @@ -0,0 +1,68 @@ +Python for AtheOS + + +Before building: + + Make sure you have shared versions of the libraries you want to use + with Python. You will have to compile them yourself, or download + precompiled packages. + + Recommended libraries: + + ncurses-4.2 + readline-4.2a + zlib-1.1.4 + +Build: + + $ ./configure --prefix=/usr/python + $ make + + Python is always built as a shared library, otherwise dynamic loading + would not work. + +Testing: + + $ make test + +Install: + + # make install + # pkgmanager -a /usr/python + + +AtheOS issues: + + - large file support: due to a stdio bug in glibc/libio, access to + large files may not work correctly. + fseeko() tries to seek to a negative offset. + ftello() returns a negative offset, it looks like a 32->64bit + sign-extension issue. + The lowlevel functions (open, lseek, etc) are OK. + - sockets: AF_UNIX is defined in the C library and in Python, but + not implemented in the system. + - select: poll is available in the C library, but does not work + (It does not return POLLNVAL for bad fds and hangs). + - posix: statvfs and fstatvfs always return ENOSYS. + - + - disabled modules: + - mmap: not yet implemented in AtheOS + - nis: broken (on an unconfigured system yp_get_default_domain() + returns junk instead of error) + - dl: dynamic loading doesn't work via dlopen() + - resource: getrimit and setrlimit are not yet implemented + + - if you are getting segmentation faults, you probably are low on memory. + AtheOS doesn't handle very well an out-of-memory condition and + simply SEGVs the process. + +Tested on: + + AtheOS-0.3.7 + gcc-2.95 + binutils-2.10 + make-3.78 + + +-- +Octavian Cerna <tavy@ylabs.com> |