Add more general warning against the SGI optimizer.

This commit is contained in:
Guido van Rossum 2001-04-14 13:09:53 +00:00
parent b891891d00
commit 7be8ca0d42

12
README
View file

@ -359,16 +359,14 @@ SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
does not check whether a command actually changed the file it does not check whether a command actually changed the file it
is supposed to build. This means that whenever you say "make" is supposed to build. This means that whenever you say "make"
it will redo the link step. The remedy is to use SGI's much it will redo the link step. The remedy is to use SGI's much
smarter "smake " utility (/usr/sbin/smake), or GNU make. If smarter "smake" utility (/usr/sbin/smake), or GNU make. If
you set the first line of the Makefile to #!/usr/sbin/smake you set the first line of the Makefile to #!/usr/sbin/smake
smake will be invoked by make (likewise for GNU make). smake will be invoked by make (likewise for GNU make).
There is a bug in the SGI compiler's optimization that causes a WARNING: There are bugs in the optimizer of some versions of
bus error in PyComplex_ImagAsDouble(); this has been reported to SGI's compilers that can cause bus errors or other strange
be triggered when importing Numeric Python and may be caused at behavior, especially on numerical operations. To avoid this,
other times. The work-around is to build Python, delete the try building with "make OPT=".
Objects/complexobject.o file, and then recompile without
optimization (use "make OPT=").
OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++ OS/2: If you are running Warp3 or Warp4 and have IBM's VisualAge C/C++
compiler installed, just change into the pc\os2vacpp directory compiler installed, just change into the pc\os2vacpp directory