• 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: Xcode 2.0 and 64-bit support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.0 and 64-bit support


  • Subject: Re: Xcode 2.0 and 64-bit support
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 13 Jul 2004 17:48:27 -0700

On Jul 13, 2004, at 5:09 PM, Glen Low wrote:

Hi,

I think this qualifies as borderline NDA territory, since gcc development is an open thing.

What kind of 64-bit support is there in Xcode 2.0 and Apple gcc 3.5? In particular:

1. Is sizeof(int) == 4?
2. Is sizeof(long) == 4?
3. Is sizeof(long long) == 8?
4. Is sizeof(void*) == 4 or 8? Or is there some kind of typedef and/or funky conversion for 32-bit vs. 64-bit pointer?
5. Is size_t same as unsigned long or unsigned long long?
6. Can we now malloc, vm_alloc, mmap more than 2G at a time i.e. will those low-level UNIXish API's allow a 64-bit parameter as a size?


Cheers, Glen Low

The following page answers all of you questions once you pick through the marketing statements... basically LP64 & libSystem using command line application can use 64b addressing. Also downloading the Tiger draft documentation set will give you more information, it is available on ADC if you have a seed key.


<http://www.apple.com/macosx/tiger/64bit.html>

"Enhanced 64-bit Support

Tiger ships with 64-bit ready Xcode development tools, so you can take full advantage of the Tigers enhanced 64-bit capabilities right out of the box. Tigers new 64-bit pointers enable individual processes to access massive amounts of virtual memory. The enhanced kernel, plus a 64-bit version of libSystem, let command-line programs, background daemons and network services directly manipulate up to 16 exabytes of virtual memory, more than four billion times the memory addressable by todays 32-bit applications.

Tiger supports the industry standard LP64 programming model supported by other 64-bit Unix systems. This means developers can easily port 64-bit code to Tiger. LP64 support in Tiger provides for 64-bit pointer, long, and long long but preserves 32-bit integer data types."

-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Xcode 2.0 and 64-bit support (From: Glen Low <email@hidden>)

  • Prev by Date: Re: Xcode 2.0 and 64-bit support
  • Next by Date: 1 byte struct alignment in gcc?
  • Previous by thread: Re: Xcode 2.0 and 64-bit support
  • Next by thread: Re: Xcode 2.0 and 64-bit support
  • Index(es):
    • Date
    • Thread