<div dir="ltr">Thanks Ryan, Thanks Henrik,<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 1:17 AM, Henrik Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no" target="_blank">henrik.s.johansen@veloxit.no</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br><div style="word-wrap:break-word"><br><div><div>On 26 Jun 2014, at 8:05 , Ryan Macnak &lt;<a href="mailto:rmacnak@gmail.com" target="_blank">rmacnak@gmail.com</a>&gt; wrote:</div>
<br><blockquote type="cite"><div dir="ltr">With appropriate settings [1], one can get 3GB on Windows. (I haven&#39;t tested this on Cog but once upon time used it in another project.) I don&#39;t know if this extra GB is worth it to anyone; given the other platforms provide above 2GB hopefully the bugs related to signed versus unsigned comparisons are already flushed out. <div>

<br></div><div>[1] <a href="http://msdn.microsoft.com/en-us/library/bb613473(v=VS.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb613473(v=VS.85).aspx</a><br></div></div></blockquote><div><br></div>For that, you’d also need a binary with the Large Address Aware bit set in the COFF-header, which the released binary does not have. </div>
<div>It’s basically just a checkbox that yes, I assure you my application only treats addresses as unsigned, so please hand me more than 2GB of memory.</div><div>Which is also the way to get &gt;2GB with 32bit executables on 64-bit Windows as well, so it might be worthwhile finding the proper compiler flag.</div>
</div></blockquote><div><br></div><div>I found this:</div><div><br></div><div>&quot;<span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">It depends on your toolchain.</span></div><p style="margin:1em 0px;padding:0px;border:0px;vertical-align:baseline;font-size:13px;font-family:Arial,Helvetica,sans-serif">
If you are using cygwin, i don&#39;t know.<br>But for Mingw, a quick google for &quot;LARGEADDRESSAWARE gnu ld&quot;<br>turns up &quot;--large-address-aware&quot;. You have to pass it down to ld through gcc by<br>&#39;-Wl,--large-address-aware&#39;.<br>
That is if you are using mingw with gnu ld.<br>But beware, this is still 32-Bit, so somewhere below 4GB (3GB?) is you max..<br>Win64 support is still unfinished AFAIK (or in the latest and greatest CVS<br>snapshots + still itchy).</p>
<p style="margin:1em 0px;padding:0px;border:0px;vertical-align:baseline;font-size:13px;font-family:Arial,Helvetica,sans-serif">&gt; Thank you in advance.</p><p style="margin:1em 0px;padding:0px;border:0px;vertical-align:baseline;font-size:13px;font-family:Arial,Helvetica,sans-serif">
Greetings<br></p><div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">        Jan&quot;</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>Cheers,</div><div>Henry</div><div><br></div><div>PS. Here’s the transcript from Windows 7 x64 on a modified version of released binary with the only change being LAA bit set to on manually:</div>
<div><div><br></div><div>60.7</div><div>60.7</div><div>76.7</div><div>92.7</div><div>108.7</div><div>124.7</div><div>140.7</div><div>156.7</div><div>172.7</div><div>188.7</div><div>204.7</div><div>220.7</div><div>236.7</div>
<div>252.7</div><div>268.7</div><div>284.7</div><div>300.7</div><div>316.7</div><div>332.7</div><div>348.7</div><div>364.7</div><div>380.7</div><div>396.7</div><div>412.7</div><div>428.7</div><div>444.7</div><div>460.7</div>
<div>476.7</div><div>492.7</div><div>508.7</div><div>524.7</div><div>540.7</div><div>556.7</div><div>572.7</div><div>588.7</div><div>604.7</div><div>620.7</div><div>636.7</div><div>652.7</div><div>668.7</div><div>684.7</div>
<div>700.7</div><div>716.7</div><div>732.7</div><div>748.7</div><div>764.7</div><div>780.7</div><div>796.7</div><div>812.7</div><div>828.7</div><div>844.7</div><div>860.7</div><div>876.7</div><div>892.7</div><div>908.7</div>
<div>924.7</div><div>940.7</div><div>956.7</div><div>972.7</div><div>988.7</div><div>1004.7</div><div>1020.7</div><div>1036.7</div><div>1052.7</div><div>1068.7</div><div>1084.7</div><div>1100.7</div><div>1116.7</div><div>
1132.7</div><div>1148.7</div><div>1164.7</div><div>1180.7</div><div>1196.7</div><div>1212.7</div><div>1228.7</div><div>1244.7</div><div>1260.7</div><div>1276.7</div><div>1292.7</div><div>1308.7</div><div>1324.7</div><div>
1340.7</div><div>1356.7</div><div>1372.7</div><div>1388.7</div><div>1404.7</div><div>1420.7</div><div>1436.7</div><div>1452.7</div><div>1468.7</div><div>1484.7</div><div>1500.7</div><div>1516.7</div><div>1532.7</div><div>
1548.7</div><div>1564.7</div><div>1580.7</div><div>1596.7</div><div>1612.7</div><div>1628.7</div><div>1644.7</div><div>1660.7</div><div>1676.7</div><div>1692.7</div><div>1708.7</div><div>1724.7</div><div>1740.7</div><div>
1756.7</div><div>1772.7</div><div>1788.7</div><div>1804.7</div><div>1820.7</div><div>1836.7</div><div>1852.7</div><div>1868.7</div><div>1884.7</div><div>1900.7</div><div>1916.7</div><div>1932.7</div><div>1948.7</div><div>
1964.7</div><div>1980.7</div><div>1996.7</div><div>2012.7</div><div>2028.7</div><div>2044.7</div><div>2060.7</div><div>2076.7</div><div>2092.7</div><div>2108.7</div><div>2124.7</div><div>2140.7</div><div>2156.7</div><div>
2172.7</div><div>2188.7</div><div>2204.7</div><div>2220.7</div><div>2236.7</div><div>2252.7</div><div>2268.7</div><div>2284.7</div><div>2300.7</div><div>2316.7</div><div>2332.7</div><div>2348.7</div><div>2364.7</div><div>
2380.7</div><div>2396.7</div><div>2412.7</div><div>2428.7</div><div>2444.7</div><div>2460.7</div><div>2476.7</div><div>2492.7</div><div>2508.7</div><div>2524.7</div><div>2540.7</div><div>2556.7</div><div>2572.7</div><div>
2588.7</div><div>2604.7</div><div>2620.7</div><div>2636.7</div><div>2652.7</div><div>2668.7</div><div>2684.7</div><div>2700.7</div><div>2716.7</div><div>2732.7</div><div>2748.7</div><div>2764.7</div><div>2780.7</div><div>
2796.7</div><div>2812.7</div><div>2828.7</div><div>2844.7</div><div>2860.7</div><div>2876.7</div><div>2892.7</div><div>2908.7</div><div>2924.7</div><div>2940.7</div><div>2956.7</div><div>2972.7</div><div>2988.7</div><div>
3004.7</div><div>3020.7</div><div>3036.7</div><div>3052.7</div><div>3068.7</div><div>3084.7</div><div>3100.7</div><div>3116.7</div><div>3132.7</div><div>3148.7</div><div>3164.7</div><div>3180.7</div><div>3196.7</div><div>
3212.7</div><div>3228.7</div><div>3244.7</div><div>3260.7</div><div>3276.7</div><div>3292.7</div><div>3308.7</div><div>3324.7</div><div>3340.7</div><div>3356.7</div><div>3372.7</div><div>3388.7</div><div>3404.7</div><div>
3420.7</div><div>3436.7</div><div>3452.7</div><div>3468.7</div><div>3484.7</div><div>3500.7</div><div>3516.7</div><div>3532.7</div><div>3548.7</div><div>3564.7</div><div>3580.7</div><div>3596.7</div><div>3612.7</div><div>
3628.7</div><div>3644.7</div><div>3660.7</div><div>3676.7</div><div>3692.7</div><div>3708.7</div><div>3724.7</div><div>3740.7</div><div>3756.7</div><div>3772.7</div><div>3788.7</div><div>3804.7</div><div>3820.7</div><div>
3836.7</div><div>3852.7</div><div>1948.7</div><div>44.7</div></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>