| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Now that the G5 has 64-bit addressing, how do you build your code to
use 64-bit pointers with GCC3.3 (so that 'struct foo * bar' is an 8
byte pointer)?
You should take a look at the white papers on Apple's website dealing
with the G5 processor and the PowerMac architecture. I think your
questions will be answered there.
Unless I missed something, the white papers don't answer that question.
One compiler option is listed to force "long long" G5 support, but no mention of enabling 64-bit pointers. Other questions:
What system APIs have changed?
Can I malloc a 5GB buffer?
Can I mmap a 9GB file or do I need to map smaller (< 32-bit) portions of it?
Can I build an application that runs in both 32 and 64-bit modes? Or should
we put 2 executables within our bundle instead?
Will Carbon & Cocoa APIs be updated with 64-bit pointer support? QuickTime? Quartz?
Panther won't be shipping for quite a while, though, so I suspect this sort of information will be forthcoming. It seems to me that the vast majority of apps should remain 32-bit unless there's a serious reason to move to 64.
| References: | |
| >Re: 64 bit addressing (From: Eric Shapiro <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.