Forums > Dev

Re: Examples of Makefiles for Universal Binaries?

February 5, 2007 | 8:31 pm

On 2/5/07, Syd Polk wrote:
> If you are not using Xcode’s build system, I would have my makefile build
> each architecture separately, and then lipo the resulting executables
> together at the end.
>

This is exactly what xcode does to make a UB binary. If you look at
the command line stuff that xcode does it actually builds in 2 steps
(1 for each architecture) and uses lipo at the end to put them
together.

wes


February 5, 2007 | 8:31 pm

sorry wrong list.

wes

On 2/5/07, Wesley Smith wrote:
> On 2/5/07, Syd Polk wrote:
> > If you are not using Xcode’s build system, I would have my makefile build
> > each architecture separately, and then lipo the resulting executables
> > together at the end.
> >
>
> This is exactly what xcode does to make a UB binary. If you look at
> the command line stuff that xcode does it actually builds in 2 steps
> (1 for each architecture) and uses lipo at the end to put them
> together.
>
> wes
>


Viewing 2 posts - 1 through 2 (of 2 total)