gcc on darwin os-x

Nick Strauss infinitysw@comcast.net
Wed Nov 5 00:21:00 GMT 2003


Hi,

I'm trying to use g++ in darwin os-x running on a g5 system with
a powerPC 970 chip.
I've written the following piece of code:

	unsigned long long alloc = 1LL<<41;

	ptr = new char[alloc];

I get a vm_alloc error.
Is the g++ limited to a 32-bit address space on darwin os-x on g5?

Nicholas Strauss
infinitysw@comcast.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 421 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20031105/f0f7fe15/attachment.bin>


More information about the Gcc-help mailing list