Thomas Wouters avatar Thomas Wouters committed e675ff5

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 ;)

Comments (0)

Files changed (1)

 	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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.