diff options
author | das <das@noemail.net> | 2006-08-18 07:45:41 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-08-18 07:45:41 (GMT) |
commit | 59f1e34dfc24adf491cb5271fe5756e8a9c16f95 (patch) | |
tree | ed001b456f65d2bf75246db8dc3876f3cd7d2722 /macosx/README | |
parent | e8a5ec3c05abfc1ae8b521ade49f77c62be8be38 (diff) | |
download | tcl-59f1e34dfc24adf491cb5271fe5756e8a9c16f95.zip tcl-59f1e34dfc24adf491cb5271fe5756e8a9c16f95.tar.gz tcl-59f1e34dfc24adf491cb5271fe5756e8a9c16f95.tar.bz2 |
* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
universal builds including x86_64, for 64-bit CoreFoundation on Leopard
and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET.
* unix/configure: autoconf-2.13
* generic/tcl.h: add fixes for building on Leopard and support for
* unix/tclUnixPort.h: 64-bit CoreFoundation on Leopard.
* unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
causes execve to fail intermittently. (rdar://4685553)
* macosx/README: updates for x86_64 support and Xcode 2.3.
FossilOrigin-Name: a341c3758d1036ad7599b6e42f887de70114e95a
Diffstat (limited to 'macosx/README')
-rw-r--r-- | macosx/README | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/macosx/README b/macosx/README index d1e8c13..d989f6e 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ Tcl Mac OS X README ----------------- -RCS: @(#) $Id: README,v 1.1.2.6 2006/07/21 06:02:59 das Exp $ +RCS: @(#) $Id: README,v 1.1.2.7 2006/08/18 07:45:42 das Exp $ This is the README file for the Mac OS X/Darwin version of Tcl. @@ -87,17 +87,18 @@ The Mac OS X specific configure flags are --enable-framework and select based notifier). - It is also possible to build with Apple's IDE via the tcl/macosx/Tcl.pbproj -project, this simply calls through to the tcl/macosx/GNUMakefile. +project, this simply calls through to the tcl/macosx/Makefile. - To build universal binaries, set CFLAGS as follows: - export CFLAGS="-arch ppc -arch ppc64 -arch i386 \ + export CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 \ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" -This requires Mac OS X 10.4 and Xcode 2.2 (_not_ Xcode 2.1) and will work on any -of the architectures (on intel Macs, the -isysroot is not required). Note that -it is not possible to configure correctly if the current architecture is not -present in CFLAGS (i.e. -arch `arch` must always be there). Universal builds of -Tcl TEA extensions are also possible with CFLAGS set as above, they will be -[load]able by universal as well as thin binaries of Tcl. +This requires Mac OS X 10.4 and Xcode 2.3 (or Xcode 2.2 if -arch x86_64 is +omitted, but _not_ Xcode 2.1) and will work on any of the architectures (on +intel Macs, the -isysroot may not be required). Note that it is not possible to +configure universal builds correctly if the current architecture is not present +in CFLAGS (i.e. -arch `arch` must be there). +Universal builds of Tcl TEA extensions are also possible with CFLAGS set as +above, they will be [load]able by universal as well as thin binaries of Tcl. - To enable weak-linking, set the MACOSX_DEPLOYMENT_TARGET environment variable to the minimal OS version (>= 10.2) the binaries should be able to run on, e.g: |