summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textblock-fragments
Commit message (Expand)AuthorAgeFilesLines
* Doc: Updated example license to three clause BSD license.David Boddie2010-06-105-137/+132
* Update copyright year to 2010Jason McDonald2010-01-065-5/+5
* Update license headers again.Jason McDonald2009-09-095-20/+20
* Update tech preview license header.Jason McDonald2009-08-315-65/+65
* Qt's domain name is now qt.nokia.com.Jason McDonald2009-08-111-1/+1
* Update license headers.Jason McDonald2009-08-115-5/+5
* Update license headers as requested by the marketing department.Jason McDonald2009-06-165-10/+10
* Long live Qt 4.5!Lars Knoll2009-03-236-0/+458
>bug_3601260 Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/README30
-rw-r--r--macosx/Tcl-Common.xcconfig39
-rw-r--r--macosx/Tcl-Debug.xcconfig23
-rw-r--r--macosx/Tcl-Release.xcconfig23
-rw-r--r--macosx/Tcl.xcode/default.pbxuser4
-rw-r--r--macosx/Tcl.xcode/project.pbxproj54
-rw-r--r--macosx/Tcl.xcodeproj/default.pbxuser27
-rw-r--r--macosx/Tcl.xcodeproj/project.pbxproj538
8 files changed, 406 insertions, 332 deletions
diff --git a/macosx/README b/macosx/README
index e15a3b4..116b6d4 100644
--- a/macosx/README
+++ b/macosx/README
@@ -1,7 +1,7 @@
Tcl Mac OS X README
-----------------
-RCS: @(#) $Id: README,v 1.10 2006/08/21 06:09:44 das Exp $
+RCS: @(#) $Id: README,v 1.11 2007/01/28 01:42:05 das Exp $
This is the README file for the Mac OS X/Darwin version of Tcl.
@@ -94,9 +94,20 @@ 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.4 on 10.4, this additionally has a
- 'ReleaseUniversal'configuration which builds both the 'Tcl' and the
- 'tcltest' targets as universal binaries for ppc, ppc64, i386 and x86_64.
+ * Tcl.xcodeproj for Xcode 2.4 on 10.4 or later, which has the following
+ additional configurations for the 'Tcl' and 'tcltest' targets:
+ 'Debug64bit': builds the targets as 64bit with debugging enabled,
+ requires a 64bit capable processor (i.e. G5 or Core2/Xeon).
+ 'ReleaseUniversal': builds the targets as universal binaries for the
+ ppc, ppc64, i386 and x86_64 architectures.
+ 'ReleaseUniversal10.4uSDK': same as 'ReleaseUniversal' but builds
+ against the 10.4u SDK, required to build universal binaries on
+ PowerPC Tiger (where the system libraries are not universal).
+ 'ReleasePPC10.3.9SDK': builds for PowerPC against the 10.3.9 SDK, useful
+ for verifying on Tiger that building on Panther would succeed.
+ 'ReleasePPC10.2.8SDK': builds for PowerPC with gcc-3.3 against the
+ 10.2.8 SDK, useful to verify on Tiger that building on Jaguar
+ would succeed.
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
@@ -118,10 +129,11 @@ Notes about the native targets of the Xcode projects:
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.4 (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).
+omitted, but _not_ Xcode 2.1) and will work on any of the architectures (the
+-isysroot flag is only required on PowerPC Tiger).
+Note that configure requires CFLAGS to contain a least one architecture that can
+be run on the build machine (i.e. ppc on G3/G4, ppc or ppc64 on G5, ppc or i386
+on Core and ppc, i386 or x86_64 on Core2/Xeon).
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.
@@ -132,7 +144,7 @@ This requires Mac OS X 10.2 and gcc 3.1; if you have gcc 4 or later you can set
CFLAGS instead:
export CFLAGS="-mmacosx-version-min=10.2"
The Tcl.xcodeproj is setup to produce binaries that can run on 10.2 or later,
-except for the 'ReleaseUniversal'configuration, where they require 10.4.
+except for the 'ReleaseUniversal*' configurations, where they require 10.4.
Support for weak-linking was added to the code for 8.4.14/8.5a5.
Detailed Instructions for building with macosx/GNUmakefile
diff --git a/macosx/Tcl-Common.xcconfig b/macosx/Tcl-Common.xcconfig
new file mode 100644
index 0000000..64c77e0
--- /dev/null
+++ b/macosx/Tcl-Common.xcconfig
@@ -0,0 +1,39 @@
+//
+// Tcl-Common.xcconfig --
+//
+// This file contains the Xcode build settings comon to all
+// project configurations in Tcl.xcodeproj.
+//
+// Copyright (c) 2007 Daniel A. Steffen <das@users.sourceforge.net>
+//
+// See the file "license.terms" for information on usage and redistribution
+// of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+//
+// RCS: @(#) $Id: Tcl-Common.xcconfig,v 1.1 2007/01/28 01:42:05 das Exp $
+//
+
+HEADER_SEARCH_PATHS = $(DERIVED_FILE_DIR)/tcl $(HEADER_SEARCH_PATHS)
+OTHER_LDFLAGS = -headerpad_max_install_names $(OTHER_LDFLAGS)
+INSTALL_PATH = "$(BINDIR)"
+GCC_PREFIX_HEADER = $(DERIVED_FILE_DIR)/tcl/tclConfig.h
+GCC_GENERATE_DEBUGGING_SYMBOLS = YES
+GCC_NO_COMMON_BLOCKS = YES
+GCC_DYNAMIC_NO_PIC = YES
+WARNING_CFLAGS_GCC3 = -Wall -Wno-implicit-int -Wno-unused-parameter -Wno-deprecated-declarations $(WARNING_CFLAGS)
+WARNING_CFLAGS = -Wextra -Wno-missing-field-initializers $(WARNING_CFLAGS_GCC3)
+BINDIR = $(PREFIX)/bin
+CFLAGS = $(CFLAGS)
+CPPFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) $(CPPFLAGS)
+FRAMEWORK_INSTALL_PATH = /Library/Frameworks
+INCLUDEDIR = $(PREFIX)/include
+LIBDIR = $(PREFIX)/lib
+MANDIR = $(PREFIX)/man
+PER_ARCH_CFLAGS_ppc = -mcpu=G3 -mtune=G4 $(PER_ARCH_CFLAGS_ppc)
+PER_ARCH_CFLAGS_ppc64 = -mcpu=G5 -mpowerpc64 $(PER_ARCH_CFLAGS_ppc64)
+PREFIX = /usr/local
+TCL_CONFIGURE_ARGS = --enable-threads
+TCL_LIBRARY = $(LIBDIR)/tcl$(VERSION)
+TCL_PACKAGE_PATH = "$(LIBDIR)"
+TCL_SRCROOT = $(SRCROOT)/../../tcl
+TCL_DEFS = HAVE_TCL_CONFIG_H
+VERSION = 8.5
diff --git a/macosx/Tcl-Debug.xcconfig b/macosx/Tcl-Debug.xcconfig
new file mode 100644