Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / October 2007



Tip: Looking for answers? Try searching our database.

universal binaries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mlabs - 31 Oct 2007 03:53 GMT
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?
Sherman Pendley - 31 Oct 2007 06:22 GMT
> 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--

Signature

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

Dave Seaman - 31 Oct 2007 13:36 GMT
>> 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.

Signature

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/>

Gregory Weston - 31 Oct 2007 13:52 GMT
> 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?
Michael Ash - 31 Oct 2007 15:48 GMT
> 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.

Signature

Michael Ash
Rogue Amoeba Software

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.