From: Duncan M. <dmu...@pa...> - 2003-10-10 18:17:32
|
There's a bit in the PE executable header marking an executable as "large address aware", which means that the OS will give it up to 3 GB of address space. Without that bit the executable is limited to 2 GB. The purpose of the bit is for the programmer to say that they aren't ever doing signed compares of pointers, which screw up once addresses pass the 2GB barrier. Is there any way in MinGW to set this bit? It's option /LargeAddressAware in some versions of the MS linker; there's also an editbin utility with the same option. Is this option supported in MinGW? Duncan Murdoch |