Re: GPC compiler crash

Adriaan van Os <[email protected]>
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Thomas Schneider wrote:

> When I set it to 2003001 it compiles but gives a segmention fault even
> though it's global.  Maybe there's a limitation to allocating that
> way?

In a 32-bit process, an application can linearly address no more than typically 2 GB, even if the 
computer has more RAM. As a 64-bit operating system, Mac OS X can run 32-bit and 64-bit proceses. A 
64-bit process can linearly address 2^63 bytes, but your program is 32-bit as it was compiled as 
such. With regard to a compiler capable of compiling 64-bit applications, see my message to this 
list of 23-06-2011 21:24.

Regards,

Adriaan van Os


_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.