summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2006-08-18 07:45:41 (GMT)
committerdas <das>2006-08-18 07:45:41 (GMT)
commit14bd76d3ec59b713ec76126253b3ed6c91ffc64a (patch)
treeed001b456f65d2bf75246db8dc3876f3cd7d2722 /macosx
parent23337a910dff06fe7f10369619b17a42760935cf (diff)
downloadtcl-14bd76d3ec59b713ec76126253b3ed6c91ffc64a.zip
tcl-14bd76d3ec59b713ec76126253b3ed6c91ffc64a.tar.gz
tcl-14bd76d3ec59b713ec76126253b3ed6c91ffc64a.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.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/README19
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: