Can GCC use more than 4G while compiling ?

Tomas Kalibera kalibera@cs.purdue.edu
Wed Feb 13 23:07:00 GMT 2008


Hello,

GCC runs out of memory while compiling my very large generated source 
file. Although I have x86_64 with more than 4G of RAM, it seems that GCC 
only uses something less than 4G. Is there a way to allow GCC to use 
more ? Something like ggc-heap-size...

I'm using GCC 4.2.3, compiled from sources, gcc binary is a 64-bit 
executable.

Thanks,
Tomas



More information about the Gcc-help mailing list