• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What Architectures to use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What Architectures to use


  • Subject: Re: What Architectures to use
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 20 Sep 2010 19:58:36 +0200

In a nutshell: Don't assume anything about the byte-size of datatypes.

Most code should not worry. But if you are doing network or hardware communication, you will probably have to check your code.

And a bit more on what's official:

When 10.5 was current, it was suggested Frameworks and Libraries should be 64/32 universal. Apps were supposed to be 32 Bit. That is because most system apps were still 32 bit, and firing up a single 64 Bit app would result in loading ALL Frameworks again.

Now, on 10.6, almost all system apps are 64 bit, so your app should be 32/64 Bit Universal, too.

Alex

Am 20.09.2010 um 19:42 schrieb David Blanton:

> I am using Xcode 3.1.2. (There are valid reasons for this.)
>
> What, in a nutshell, defines 64-bit safe? Is there a doc on the subject?
>
>
>
> On Sep 20, 2010, at 11:32 AM, Christiaan Hofman wrote:
>
>>
>> On Sep 20, 2010, at 19:18, David Blanton wrote:
>>
>>> I have been building with Architectures set to "Standard (32-bit Universal).
>>>
>>> Should I be using "32/64-bit Universal" now as Macs on;y ship as 64-bit?
>>>
>>
>> If your code is 64-bit safe, then yes, you should preferably build a 64-bit binary if you can. You must be using an older version of Xcode, because in Xcode 3.2.3 I see (among others) the options "Standard (32/64-bit Universal)", "32-bit Universal", and "64-bit Intel".
>>
>> Christiaan
>>
>>
>>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >What Architectures to use (From: David Blanton <email@hidden>)
 >Re: What Architectures to use (From: Christiaan Hofman <email@hidden>)
 >Re: What Architectures to use (From: David Blanton <email@hidden>)

  • Prev by Date: Re: What Architectures to use
  • Next by Date: Re: What Architectures to use
  • Previous by thread: Re: What Architectures to use
  • Next by thread: Re: What Architectures to use
  • Index(es):
    • Date
    • Thread