Universal Binaries

Harry van der Wolf hvdwolf at gmail.com
Sat Jan 24 09:59:47 PST 2009


2009/1/24 Timothy Lee <TimLee at rochester.rr.com>
Thanks for the reply Harry-I'm fairly sure that I will need to lipo together
the builds for Musicbrainz' Picard.
So - in your experience what are all the options that I must set after a
fresh src install to have a 10.5 setup building binaries for 10.4?


Nothing more than setting the right options in your macports.conf and then
see how far you get.



2009/1/24 Timothy Lee <timlee at rochester.rr.com>

>
> On Jan 24, 2009, at 3:36 AM, Ryan Schmidt wrote:
>
>  On Jan 23, 2009, at 09:11, <timlee at rochester.rr.com> <
>> timlee at rochester.rr.com> wrote:
>>
>>  Joshua Root <jmr at macports.org> wrote:
>>>
>>>> Timothy Lee wrote:
>>>>
>>>>> Do you know if its possible for me (on leopard) to build x86 code (all
>>>>> my macports ports) that will also run on Tiger?
>>>>> Short of physical access to an intel 10.4 install, is there anything I
>>>>> can do?
>>>>>
>>>>
>>>> Don't forget to use Reply All so the discussion goes to the list as
>>>> well. There are no guarantees that this will work, but the way to do
>>>> what you want would be to set universal_target to 10.4,
>>>> universal_sysroot to /Developer/SDKs/MacOSX10.4u.sdk, and
>>>> universal_archs to i386. Then build everything with +universal (best to
>>>> add it to your variants.conf).
>>>>
>>>
>> Also set x11prefix to /usr/X11R6; Leopard's X11 prefix /usr/X11 does not
>> exist on Tiger.
>>
>>
> If I do this, how will I be able to run the executables on my 10.5 setup?
>
>

I ran into the same issue and simply decided to make links.

On Tiger I simply did "sudo ln -s /usr/X11R6 /usr/X11". If you build on
Tiger and bring them to Leopard you do
"sudo ln -s /usr/X11 /usr/X11R6".

This works only on your own system off course, unless you make an installer
that checks whether it runs on Tiger or Leopard and creates a softlink
accordingly.

Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090124/a0406740/attachment.html>


More information about the macports-users mailing list