digitalmars.D - Large Address Aware W/ OptLink
- dsimcha (3/3) May 06 2010 Is there a way to make optlink link D programs in large address aware mo...
- torhu (4/7) May 06 2010 You can supposedly use the editbin tool that comes with msvc to enable
- dsimcha (5/8) May 07 2010 Thanks. I haven't tested this extensively in terms of whether there are...
- Lionello Lunesu (4/7) May 06 2010 Are you sure DMC's clib and phobos are large address aware? IIRC, there
- Walter Bright (3/10) May 06 2010 Pointers are always compared using unsigned comparisons. I'm not aware o...
Is there a way to make optlink link D programs in large address aware mode so that I can at least use 4 GB of address space instead of 2 on Win64 until DMD is ported to 64-bit?
May 06 2010
On 07.05.2010 04:45, dsimcha wrote:Is there a way to make optlink link D programs in large address aware mode so that I can at least use 4 GB of address space instead of 2 on Win64 until DMD is ported to 64-bit?You can supposedly use the editbin tool that comes with msvc to enable large address aware mode. http://msdn.microsoft.com/en-us/library/203797te.aspx
May 06 2010
== Quote from torhu (no spam.invalid)'s articleYou can supposedly use the editbin tool that comes with msvc to enable large address aware mode. http://msdn.microsoft.com/en-us/library/203797te.aspxThanks. I haven't tested this extensively in terms of whether there are any runtime bugs w.r.t. it, but it does at least allow me to allocate 4 GB of address space. Any bugs would have to be platform specific because on 64-bit Linux, 32-bit executables can use all 4 GB of address space by default.
May 07 2010
On 7-5-2010 10:45, dsimcha wrote:Is there a way to make optlink link D programs in large address aware mode so that I can at least use 4 GB of address space instead of 2 on Win64 until DMD is ported to 64-bit?Are you sure DMC's clib and phobos are large address aware? IIRC, there are quite some places where pointers are being compared. L.
May 06 2010
Lionello Lunesu wrote:On 7-5-2010 10:45, dsimcha wrote:Pointers are always compared using unsigned comparisons. I'm not aware of any problems in the code gen or libraries in this regard.Is there a way to make optlink link D programs in large address aware mode so that I can at least use 4 GB of address space instead of 2 on Win64 until DMD is ported to 64-bit?Are you sure DMC's clib and phobos are large address aware? IIRC, there are quite some places where pointers are being compared.
May 06 2010