VirtualBox

Changes between Version 55 and Version 56 of Mac OS X build instructions


Ignore:
Timestamp:
Jun 9, 2010 2:12:46 PM (14 years ago)
Author:
Christian Pötzsch
Comment:

Added Snow Leopard tips

Legend:

Unmodified
Added
Removed
Modified
  • Mac OS X build instructions

    v55 v56  
    5656    The default is to a release build, should you wish to do a ''debug'' or ''profile'' build add {{{BUILD_TYPE=debug}}} or {{{BUILD_TYPE=profile}}} as argument to ''kmk'' or export it as an environment variable in your shell.
    5757
     58=== Tips for building !VirtualBox on Snow Leopard 32bit ===
     59
     60For backward compatibility (that is Leopard) !VirtualBox is build against the 10.5 SDK even on Snow Leopard (32bit). This can be problematic if you are using e.g. OpenSSL from !MacPorts which is build against the 10.6 SDK. You have two possibilities to solve this problem:
     61
     62 1. Build all dependencies yourself and point them to the 10.5 SDK. Use e.g. ./configure --with-openssl-dir=/path/to/self/build/OpenSSL' before building !VirtualBox.
     63
     64 2. If you don't care about backwards compatibility, you can force !VirtualBox to be build against the 10.6 SDK. For this include the following into a file called !LocalConfig.kmk, which should be located in the top level directory of the !VirtualBox build tree:
     65{{{
     66VBOX_DEF_MACOSX_VERSION_MIN = 10.6
     67VBOX_DARWIN_NO_COMPACT_LINKEDIT =
     68VBOX_MACOS_10_5_WORKAROUND =
     69}}}
    5870
    5971== Running !VirtualBox ==

© 2023 Oracle
ContactPrivacy policyTerms of Use