diff options
author | das <das@noemail.net> | 2006-08-18 07:45:31 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-08-18 07:45:31 (GMT) |
commit | 1525adc1605310b87c7b69a9c940e3de5172c716 (patch) | |
tree | 580a77a48184c84c4261aa7b46888ee7b525fae4 /macosx/README | |
parent | 0a457bd4bc411f8f08fd9e68f9b71baa50fe7b83 (diff) | |
download | tcl-1525adc1605310b87c7b69a9c940e3de5172c716.zip tcl-1525adc1605310b87c7b69a9c940e3de5172c716.tar.gz tcl-1525adc1605310b87c7b69a9c940e3de5172c716.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.59
* unix/tclConfig.h.in: autoheader-2.59
* generic/tcl.h: add fixes for building on Leopard and support
* unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard.
* macosx/tclMacOSXFCmd.c:
* unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
causes execve to fail intermittently. (rdar://4685553)
* generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit
arithmetic through __attribute__ ((mode(TI))), as it leads to link
errors due to missing fallbacks. (rdar://4685527)
* macosx/Tcl.xcodeproj/project.pbxproj: add x86_64 to universal build,
switch native release targets to use DWARF with dSYM, Xcode 3.0 changes.
* macosx/README: updates for x86_64 and Xcode 2.3.
* macosx/Tcl.xcodeproj/default.pbxuser: add test suite target that runs
* macosx/Tcl.xcodeproj/project.pbxproj: the tcl test suite at build time
and shows clickable test suite errors in the GUI build window.
* tests/macOSXFCmd.test: fix use of deprecated resource fork paths.
* unix/tclUnixInit.c (TclpInitLibraryPath): move code that is only
needed when TCL_LIBRARY is defined to run only in that case.
* generic/tclLink.c (LinkTraceProc): fix 64-bit signed-with-unsigned
comparison warning from gcc4 -Wextra.
FossilOrigin-Name: 8e0081af99484566f768574cb6062fcadb3acf72
Diffstat (limited to 'macosx/README')
-rw-r--r-- | macosx/README | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/macosx/README b/macosx/README index ed9382f..2917831 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ Tcl Mac OS X README ----------------- -RCS: @(#) $Id: README,v 1.8 2006/07/21 06:02:48 das Exp $ +RCS: @(#) $Id: README,v 1.9 2006/08/18 07:45:31 das Exp $ This is the README file for the Mac OS X/Darwin version of Tcl. @@ -94,9 +94,9 @@ take care to only use the project matching your DevTools and OS version: target useful for debugging, this target's 'Development' buildstyle has ZeroLink and Fix&Continue enabled, use the 'DevelNoFixZL' buildstyle if you need a debug build without these features. - * Tcl.xcodeproj for Xcode 2.2 on 10.4, this additionally has a + * Tcl.xcodeproj for Xcode 2.3 on 10.4, this additionally has a 'ReleaseUniversal'configuration which builds both the 'Tcl' and the - 'tcltest' targets as universal binaries for ppc, ppc64 and i386. + 'tcltest' targets as universal binaries for ppc, ppc64, i386 and x86_64. Notes about the native targets of the Xcode projects: * the Xcode projects refer to the tcl source directory with a relative path of ../../tcl to the project location, if your source directory is named @@ -115,14 +115,15 @@ Notes about the native targets of the Xcode projects: env vars AUTOCONF and AUTOHEADER to their true locations if necessary. - To build universal binaries outside of Tcl.xcodeproj, 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: |