X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33f270afacfabe65e326c867d8dbeedbaa13962d..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/docs/osx/install.txt?ds=sidebyside diff --git a/docs/osx/install.txt b/docs/osx/install.txt index f44e4831c0..a0ab245450 100644 --- a/docs/osx/install.txt +++ b/docs/osx/install.txt @@ -17,29 +17,33 @@ 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. --------- # Build the library for Cocoa (wxWidgets 2.9.0 and later) mkdir build-cocoa-debug cd build-cocoa-debug -../configure --enable-unicode --enable-debug --disable-shared --with-osx_cocoa -make;cd .. +../configure --with-osx_cocoa --enable-debug +make # Build the samples and demos -cd build-cocoa-debug/samples; make;cd ../.. -cd build-cocoa-debug/demos; make;cd ../.. +cd samples; make;cd .. +cd demos; make;cd .. --------- # Build the library for Carbon mkdir build-carbon-debug cd build-carbon-debug -../configure --enable-unicode --enable-debug --disable-shared -make;cd .. +../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 build-carbon-debug/samples;make;cd ../.. -cd build-carbon-debug/demos; make;cd ../.. +cd samples;make;cd .. +cd demos; make;cd .. --------- @@ -80,15 +84,6 @@ is to configure wxWidgets with --disable-shared. Another way to avoid it is to make a framework for wxWidgets. Making frameworks is beyond the scope of this document. -Note: -We recommend you configure a static library instead: - -4) ../configure --disable-shared - -or activate OpenGL: - -4) ../configure --with-opengl - Note: It is rarely desirable to install non-Apple software into system directories. By configuring the library with --disable-shared and using the full path