Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

universal binaries

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  Xcode 3 rss feed  
Author Message
mlabs

External


Since: Aug 20, 2007
Posts: 38



(Msg. 1) Posted: Wed Oct 31, 2007 2:53 am
Post subject: universal binaries
Archived from groups: comp>sys>mac>programmer>help (more info?)

do you need both a PPC and an INTEL mac to create a universal binary
with xcode, or can i generate one just using my intel mac?

 >> Stay informed about: universal binaries 
Back to top
Login to vote
Sherman Pendley

External


Since: Nov 06, 2007
Posts: 16



(Msg. 2) Posted: Wed Oct 31, 2007 2:53 am
Post subject: Re: universal binaries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

mlabs writes:

> do you need both a PPC and an INTEL mac to create a universal binary
> with xcode, or can i generate one just using my intel mac?

You can create a UB on either Intel or PPC Macs. Just use the appropriate
universal SDK, and specify the architectures you want to support in your
build settings.

That said, it's still quite useful to have both kinds of Mac available
for testing the finished product.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

 >> Stay informed about: universal binaries 
Back to top
Login to vote
Gregory Weston1

External


Since: Oct 03, 2004
Posts: 1917



(Msg. 3) Posted: Wed Oct 31, 2007 8:52 am
Post subject: Re: universal binaries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
mlabs wrote:

> do you need both a PPC and an INTEL mac to create a universal binary
> with xcode, or can i generate one just using my intel mac?

You can generate them on a single machine. I'd be surprised if anyone
does otherwise.

You can't, of course, really _test_ without the other architecture. You
wouldn't deploy something untested, right?
 >> Stay informed about: universal binaries 
Back to top
Login to vote
Michael Ash1

External


Since: Jun 01, 2004
Posts: 525



(Msg. 4) Posted: Wed Oct 31, 2007 9:48 am
Post subject: Re: universal binaries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

mlabs wrote:
> do you need both a PPC and an INTEL mac to create a universal binary
> with xcode, or can i generate one just using my intel mac?

Give this a read:

http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/

Answers your question, and a lot of others you probably haven't asked yet.

--
Michael Ash
Rogue Amoeba Software
 >> Stay informed about: universal binaries 
Back to top
Login to vote
Dave Seaman

External


Since: Jun 25, 2003
Posts: 346



(Msg. 5) Posted: Wed Oct 31, 2007 12:36 pm
Post subject: Re: universal binaries [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 31 Oct 2007 01:22:20 -0400, Sherman Pendley wrote:
> mlabs writes:

>> do you need both a PPC and an INTEL mac to create a universal binary
>> with xcode, or can i generate one just using my intel mac?

> You can create a UB on either Intel or PPC Macs. Just use the appropriate
> universal SDK, and specify the architectures you want to support in your
> build settings.

> That said, it's still quite useful to have both kinds of Mac available
> for testing the finished product.

If you are using Xcode3, you don't need to worry about any of that. All
applications are universal by default. If you bring up "architectures"
with its two checkboxes, they now say "32-bit" and "64-bit", meaning you
now have a choice of building for two architectures or four; it's assumed
that you want both PPC and Intel in any case.

You can specify other choices, but only by filling in the architectures
text field directly, rather than by using the checkboxes.



--
Dave Seaman
Oral Arguments in Mumia Abu-Jamal Case heard May 17
U.S. Court of Appeals, Third Circuit
<http://www.abu-jamal-news.com/>
 >> Stay informed about: universal binaries 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
options and universal binaries - How do you use processor specific compiler options when building a universal binary? For example the option: -mpowerpc-gpopt is giving me errors whenever xcode starts building the i386 architecture. Thanks

QuickDraw and IMac (universal binaries) - Hello! Currently, I'm porting an old application from CW to XCode. And I have some questions. On PowerPC QuickDraw functions works fine, and on iMac (ub) it works with bugs. For example: GetPicture, returns in PicHandle picture frame with incorrect..

How to disable GCC parallel compilation of universal binar.. - I know it's a useful feature since I have a core duo processor, but I'm compiling quite heavy C++ sources and my machine has not enough memory to keep TWO instances of GCC compiling them in memory at once.. I ran through configure/make command line,..

Building universal binaries with architecture-specific .o .. - I currently produce an object .o file for ppc chip. I have now produced a .o file for Intel chip. What is the easiest way for me to distribute these to people who want to link these files to a universal binary? Can I produce a universal static library....

Cross-compiling i386 or fat binaries from the command line? - They say all you need to do to build fat binaries in Xcode is check a box. However, I have some Unix programs that I build with "make" on the command line, and I'm having a lot more trouble. The programs build OK for native PPC. And the object ...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]