diff options
author | Thomas Wouters <thomas@python.org> | 2001-07-13 15:10:55 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2001-07-13 15:10:55 (GMT) |
commit | d92562041f3535cf5a4a4c09cb6bde608c94a844 (patch) | |
tree | eeb198497ce82aba716350508c7b74fa74a940e9 | |
parent | 6736e9deeee0c81713e69f09b2d627159d4a8cb6 (diff) | |
download | cpython-d92562041f3535cf5a4a4c09cb6bde608c94a844.zip cpython-d92562041f3535cf5a4a4c09cb6bde608c94a844.tar.gz cpython-d92562041f3535cf5a4a4c09cb6bde608c94a844.tar.bz2 |
Expand the blob on Solaris to mention passing '-Xc' to compile Python
correctly. Note that 'faulty' should actually be spelled 'fawlty', but I
don't want those bugreports assigned to me ;)
-rw-r--r-- | README | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -224,11 +224,12 @@ above) so we can remove them!) contain code that is quite wordsize sensitive. (If you have a fix, let us know!) -Solaris: When using Sun's C compiler with threads, at least on Solaris - 2.5.1, you need to add the "-mt" compiler option (the simplest - way is probably to specify the compiler with this option as - the "CC" environment variable when running the configure - script). +Solaris: When using Sun's C compiler, it's necessary to compile in + strict ANSI mode with multithreading enabled. This can be done + by setting the 'CC' environment variable to 'cc -Xc -mt' + before running the configure script. ANSI-compatibility mode + ('-Xa') has been seen to compile the code without problems, + but generate faulty code. Linux: A problem with threads and fork() was tracked down to a bug in the pthreads code in glibc version 2.0.5; glibc version 2.0.7 |