@@ -78,40 +78,6 @@ The Mac OS X specific configure flags are --enable-framework and
78
78
--disable-corefoundation (which disables CF and notably reverts to the standard
79
79
select based notifier).
80
80
81
- - It is also possible to build with the Xcode IDE via the projects in
82
- tcl/macosx, take care to use the project matching your DevTools and OS version:
83
- Tcl.xcodeproj: for Xcode 3.2 on 10.6
84
- These have the following targets:
85
- Tcl: calls through to tcl/macosx/GNUMakefile.
86
- tcltest: static build of tcltest for debugging.
87
- tests: build tcltest target and run tcl testsuite.
88
- The following build configurations are available:
89
- Debug: debug build for the active architecture,
90
- with Fix & Continue enabled.
91
- Debug clang: use clang compiler.
92
- Debug llvm-gcc: use llvm-gcc compiler.
93
- Debug gcc40: use gcc 4.0 compiler.
94
- DebugNoFixAndContinue: disable Fix & Continue.
95
- DebugNoCF: disable corefoundation.
96
- DebugMemCompile: enable memory and bytecode debugging.
97
- DebugLeaks: define PURIFY.
98
- DebugGCov: enable generation of gcov data files.
99
- Release: release build for the active architecture.
100
- ReleaseUniversal: 32/64-bit universal build.
101
- ReleaseUniversal clang: use clang compiler.
102
- ReleaseUniversal llvm-gcc: use llvm-gcc compiler.
103
- ReleaseUniversal gcc40: use gcc 4.0 compiler.
104
- ReleaseUniversal10.5SDK: build against the 10.5 SDK (with 10.5
105
- deployment target).
106
- Note that the non-SDK configurations have their deployment target set to
107
- 10.6 (Tcl.xcodeproj).
108
- The Xcode projects refer to the toplevel tcl source directory via the
109
- TCL_SRCROOT user build setting, by default this is set to the project-relative
110
- path '../../tcl', if your tcl source directory is named differently, e.g.
111
- '../../tcl8.7', you need to manually change the TCL_SRCROOT setting by editing
112
- your ${USER}.pbxuser file (located inside the Tcl.xcodeproj bundle directory)
113
- with a text editor.
114
-
115
81
- To build universal binaries outside of the Xcode IDE, set CFLAGS as follows:
116
82
export CFLAGS="-arch x86_64 -arch arm64"
117
83
This requires Mac OS X 10.6 and Xcode 10.2 and will work on any architecture.
@@ -130,8 +96,8 @@ Detailed Instructions for building with macosx/GNUmakefile
130
96
Setup this shell variable as follows:
131
97
ver="8.7"
132
98
133
- - Setup environment variables as desired, e.g. for a universal build on 10.5 :
134
- CFLAGS="-arch x86_64 -arch arm64 -mmacosx-version-min=10.5 "
99
+ - Setup environment variables as desired, e.g. for a universal build on 10.9 :
100
+ CFLAGS="-arch x86_64 -arch arm64 -mmacosx-version-min=10.9 "
135
101
export CFLAGS
136
102
137
103
- Change to the directory containing the Tcl source tree and build:
0 commit comments