summaryrefslogtreecommitdiffstats
path: root/doc/texi/Building.osx.texi
diff options
context:
space:
mode:
authorkonablend <[email protected]>2012-01-04 09:41:11 +0000
committerkonablend <[email protected]>2012-01-04 09:41:11 +0000
commit6d95ab81984cc44296438270aa792255f037c89a (patch)
tree842d42f935c31a5ec8c1529605cd0226d5d29197 /doc/texi/Building.osx.texi
parentaad50499b32c44d28a6bae7f353b579e24564e25 (diff)
BuildSystem: Mac OS X - transition to Xcode4
- transition from Xcode3 to Xcode4 - overhaul HandBrake.xcodeproj file - simplify down to 2 configurations: debug, release - add xcconfig for useful variants: osx106.i386, osx106.x86_64, osx107.i386, osx107.x86_64 - add configure --xcode-config as preferred method to choose OSX minimum version and SDK - overhaul Info.plist generation to use m4 instead of cpp - remove use of direct static libraries on command line - Xcode4 now enables -search_paths_first by default - reference external build static libraries project file - greatly simplifying project file maintenance - update universal build targets to use --xcode-config - update ffmpeg hack to build on i386 in both debug and optimized modes - update ffmpeg build to show compile verbosity - enable local yasm when yasm probe fails - remove unused GCC.ldsysroot - remove unused GCC.ldminver - enhance xcodemake to use --sysroot, --minver - update/regenerate docs accordingly - add support for configure-time repo probe when svn repo is incompatible format to Xcode via .svn/HANDBRAKE_REPO_PROBE - replaced make/test/build.matrix.darwin with make/test/build.matrix git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4395 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'doc/texi/Building.osx.texi')
-rw-r--r--doc/texi/Building.osx.texi20
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/texi/Building.osx.texi b/doc/texi/Building.osx.texi
index 6afa9b543..5c661c5eb 100644
--- a/doc/texi/Building.osx.texi
+++ b/doc/texi/Building.osx.texi
@@ -20,10 +20,10 @@ Building on @value{OS.osx} is well supported. It is the reference platform for @
@itemize @bullet
@item Mac Intel hardware
-@item @value{OS.osx} 10.5.7
-@item Xcode-3.1.2
-@item gcc 4.0.1 (Apple Inc. build 5490)
-@item yasm 0.8.0.2194 (for i386 and x86_64 architectures)
+@item @value{OS.osx} 10.7.2
+@item Xcode 4.2.1 (Build version 4D502)
+@item llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
+@item yasm 1.1.0.2352
@end itemize
@include building/prerequisites.bundled.texi
@@ -49,20 +49,22 @@ This section outlines convenience procedures for creating Universal Binaries for
The dummy (container) build configuration uses @command{--disable-xcode}; but the nested architecture builds will all make full use of Xcode.
@end quotation
-Create a dummy (container) build configuration and use it to launch a nested-build for each architecture @i{serially}; optionally you may substitute @command{make ub.build.serial} for @command{make ub.build.parallel} if your machine has the horsepower:
+Create a dummy (container) build configuration and use it to launch a nested-build for each architecture:
@example
./configure --disable-xcode
cd build/
-make ub.build.serial
+make ub.build
make ub.combine
@end example
-To specify a subset of architectures to be built first create/edit @file{_SRC_/custom.defs} with the following override to build UB for @samp{i386} and @samp{x86_64} before invoking @command{make}:
+The list of architectures is hard coded to @value{HB.name}'s desired product and currently is composed of combining the binaries produced from two xcconfigs: osx106.i386 and osx106.x86_64. The following example shows how to specify a different list of xcconfigs:
@example
-## prefer i386 (order is important)
-UB.archs = i386 x86_64
+./configure --disable-xcode
+cd build/
+make UB.xcconfigs="osx107.i386 osx107.x86_64" ub.build
+make UB.xcconfigs="osx107.i386 osx107.x86_64" ub.combine
@end example
@c %**-------------------------------------------------------------------------