From 22ab2de0eef56670d90f90b66d4c50a7bb62473e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 15 Nov 2012 18:45:42 +0000 Subject: [PATCH] Document how to build wxOSX/Carbon under recent OS X. Mention that Xcode 3 is needed for this. Closes #14524. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/osx/install.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/osx/install.txt b/docs/osx/install.txt index 02fefa17a0..a0ab245450 100644 --- a/docs/osx/install.txt +++ b/docs/osx/install.txt @@ -17,7 +17,11 @@ a wxWidgets directory. Next use Terminal (under Applications, Utilities, Terminal) to access a command prompt. Use cd to change directories to your wxWidgets directory and execute -one of the following sets of commands from the wxWidgets directory +one of the following sets of commands from the wxWidgets directory. + +For Carbon, you'll need to have Xcode 3.x installed (you can also have Xcode 4.x +installed, but the Carbon build needs 3.x, and the /Developer directory which is +installed when you install Xcode 3.x. --------- @@ -35,7 +39,7 @@ cd demos; make;cd .. # Build the library for Carbon mkdir build-carbon-debug cd build-carbon-debug -../configure --with-osx_carbon --enable-debug +../configure --enable-debug --disable-shared --enable-macosx_arch=i386 --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk CC=/Developer/usr/bin/gcc-4.2 CXX=/Developer/usr/bin/g++-4.2 LD=/Developer/usr/bin/ld make # Build the samples and demos cd samples;make;cd ..