A build question...

  • Hello,

    I have some apps that I want to run on Tiger/Leopard i386/ppc targets.

    It is not clear to me what the difference is in building a
    universal binary using
      a) the 10.5 sdk and setting the deployment level to 10.4 and
      b) the 10.4u sdk and setting the deployment level to 10.4

    In addition, it is sometimes very difficult to set the 'arch'
    setting to the pair i386 ppc ie I can't change the i386  arch setting
    without a lot of repeated clicking and swearing....
    ( some of these apps are at least 4 years old.)

    Thanks

    Jerry
  • On Feb 9, 2008 9:24 AM, Jerry LeVan <jerry.levan...> wrote:
    > Hello,
    >
    > I have some apps that I want to run on Tiger/Leopard i386/ppc targets.
    >
    > It is not clear to me what the difference is in building a
    > universal binary using
    > a) the 10.5 sdk and setting the deployment level to 10.4 and
    > b) the 10.4u sdk and setting the deployment level to 10.4

    Both will build an application that can be run on 10.4 or later. The
    difference is that, with "a", you will also (weak-)link against the
    symbols only available on 10.5 and later.

    If you don't need to use any Leopard-only features, it's probably
    simpler to go with option "b".

    > In addition, it is sometimes very difficult to set the 'arch'
    > setting to the pair i386 ppc ie I can't change the i386  arch setting
    > without a lot of repeated clicking and swearing....
    > ( some of these apps are at least 4 years old.)

    If you click once on the value in the build-settings window, and wait
    for about a second, you will get a simple text field in which you can
    enter literal values (instead of having to deal with the check-boxes).

    --
    Clark S. Cox III
    <clarkcox3...>