mirror of https://github.com/python/cpython
Removed NeXT notes (replacing them with a line saying NeXT is no
longer supported) and updated MacOSX notes.
This commit is contained in:
parent
13dca1d50f
commit
a39ef869d5
40
README
40
README
|
@ -300,8 +300,8 @@ SunOS 4.x: When using the SunPro C compiler, you may want to use the
|
||||||
'-Xa' option instead of '-Xc', to enable some needed non-ANSI
|
'-Xa' option instead of '-Xc', to enable some needed non-ANSI
|
||||||
Sunisms.
|
Sunisms.
|
||||||
|
|
||||||
NeXT: To build fat binaries, use the --with-next-archs switch
|
NeXT: Not supported anymore. Start with the MacOSX/Darwin code if you
|
||||||
described below.
|
want to revive it.
|
||||||
|
|
||||||
QNX: Chris Herborth (chrish@qnx.com) writes:
|
QNX: Chris Herborth (chrish@qnx.com) writes:
|
||||||
configure works best if you use GNU bash; a port is available on
|
configure works best if you use GNU bash; a port is available on
|
||||||
|
@ -386,16 +386,22 @@ Reliant UNIX: The thread support does not compile on Reliant UNIX, and
|
||||||
platform as well. This should be resolved in time for a
|
platform as well. This should be resolved in time for a
|
||||||
future release.
|
future release.
|
||||||
|
|
||||||
Mac OS X 10.0: Run configure with "OPT='-no-cpp-precomp' ./configure
|
Mac OS X 10.0: Run configure with "./configure --with-suffix=.exe".
|
||||||
--with-suffix=.exe --with-dyld". This generates executable
|
This generates executable file: 'python.exe' (it cannot be named
|
||||||
file: 'python.exe' (it cannot be named 'python' on an HFS or
|
'python' on an HFS or HFS+ disk as the file name clashes with
|
||||||
HFS+ disk as the file name clashes with directory 'Python').
|
directory 'Python'). One of the regular expression tests fails
|
||||||
The '-no-cpp-precomp' option prevents a large number of
|
with a SEGV due to the small stack size used by default (how to
|
||||||
compilation warnings. One of the regular expression tests
|
change this?), and the test_largefile test is only expected to
|
||||||
fails with a SEGV due to the small stack size used by default
|
work on a Unix UFS filesystem (how to check for this on Mac OS
|
||||||
(how to change this?), and the test_largefile test is only
|
X?).
|
||||||
expected to work on a Unix UFS filesystem (how to check for
|
On naked Darwin you may have to add the configure option
|
||||||
this on Mac OS X?).
|
"--without-toolbox-glue" to disable the glue code for the Carbon
|
||||||
|
interface modules. (The modules themselves are currently not built
|
||||||
|
by default as they are experimental, on real OSX you can enable them
|
||||||
|
in setup.py).
|
||||||
|
You may want to try the configure option "--enable-framework" which
|
||||||
|
installs Python as a framework. The location can be set as argument
|
||||||
|
to the --enable-framework option (default /Library/Frameworks).
|
||||||
|
|
||||||
Cygwin: Cygwin Python builds OOTB when configured as follows:
|
Cygwin: Cygwin Python builds OOTB when configured as follows:
|
||||||
|
|
||||||
|
@ -618,6 +624,11 @@ Emacs found in Misc/python-mode.el. (But then again, more recent
|
||||||
versions of Emacs may already have it.) Follow the instructions that
|
versions of Emacs may already have it.) Follow the instructions that
|
||||||
came with Emacs for installation of site-specific files.
|
came with Emacs for installation of site-specific files.
|
||||||
|
|
||||||
|
On Mac OS X, if you have configured Python with --enable-framework, you
|
||||||
|
should use "make frameworkinstall" to do the installation. Note that this
|
||||||
|
installs the Python executable in a place that is not normally on your
|
||||||
|
PATH, you may want to set up a symlink in /usr/local/bin.
|
||||||
|
|
||||||
|
|
||||||
Configuration options and variables
|
Configuration options and variables
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
@ -701,11 +712,6 @@ Modules/getpath.o.
|
||||||
--with-libc=-lc_s. These libraries are passed after all other
|
--with-libc=-lc_s. These libraries are passed after all other
|
||||||
libraries, the C library last.
|
libraries, the C library last.
|
||||||
|
|
||||||
--with-next-archs='arch1 arch2': Under NEXTSTEP, this will build
|
|
||||||
all compiled binaries with the architectures listed. This will
|
|
||||||
also correctly set the target architecture-specific resource
|
|
||||||
directory. (This option is not supported on other platforms.)
|
|
||||||
|
|
||||||
--with-libs='libs': Add 'libs' to the LIBS that the python interpreter
|
--with-libs='libs': Add 'libs' to the LIBS that the python interpreter
|
||||||
is linked against.
|
is linked against.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue