Ticket #14524: carbon.patch

File carbon.patch, 1.2 KB (added by mike_hore, 8 years ago)

A patch to docs/osx/install.txt to give updated info on building for Carbon

  • docs/osx/install.txt

     
    1717
    1818Next use Terminal (under Applications, Utilities, Terminal) to access a command
    1919prompt.  Use cd to change directories to your wxWidgets directory and execute
    20 one of the following sets of commands from the wxWidgets directory
     20one of the following sets of commands from the wxWidgets directory.
    2121
     22For Carbon, you'll need to have Xcode 3.x installed (you can also have Xcode 4.x
     23installed, but the Carbon build needs 3.x, and the /Developer directory which is
     24installed when you install Xcode 3.x.
     25
    2226---------
    2327
    2428# Build the library for Cocoa (wxWidgets 2.9.0 and later)
     
    3539# Build the library for Carbon
    3640mkdir build-carbon-debug
    3741cd build-carbon-debug
    38 ../configure --with-osx_carbon --enable-debug
     42../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
    3943make
    4044# Build the samples and demos
    4145cd samples;make;cd ..