aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/cygwin_tools/vc/ld.sh
diff options
context:
space:
mode:
authorBlaine Whittle <[email protected]>2010-10-06 11:10:29 -0700
committerBlaine Whittle <[email protected]>2010-10-06 11:10:29 -0700
commit8bb6f48ecbc29ef670e376ad0425b6434f985865 (patch)
tree946f238ba73feb19346d66751eabc1fa9e16daba /erts/etc/win32/cygwin_tools/vc/ld.sh
parentd8f8eeba477fd8872f1136fc507fa299f013cc46 (diff)
downloadotp-8bb6f48ecbc29ef670e376ad0425b6434f985865.tar.gz
otp-8bb6f48ecbc29ef670e376ad0425b6434f985865.tar.bz2
otp-8bb6f48ecbc29ef670e376ad0425b6434f985865.zip
Added win32 large address aware link option
This link option just sets a flag in the binary and doesn't change OS compatibility. This allows the Erlang VM to use up to 3 gigs of address space instead of the default of 2 gigs.
Diffstat (limited to 'erts/etc/win32/cygwin_tools/vc/ld.sh')
-rwxr-xr-xerts/etc/win32/cygwin_tools/vc/ld.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/win32/cygwin_tools/vc/ld.sh b/erts/etc/win32/cygwin_tools/vc/ld.sh
index b04935ed9b..17b2390ff1 100755
--- a/erts/etc/win32/cygwin_tools/vc/ld.sh
+++ b/erts/etc/win32/cygwin_tools/vc/ld.sh
@@ -158,7 +158,7 @@ else
fi
p=$$
-CMD="$linktype -nologo -incremental:no $CMD $STDLIB $DEFAULT_LIBRARIES"
+CMD="$linktype -nologo -incremental:no -largeaddressaware $CMD $STDLIB $DEFAULT_LIBRARIES"
if [ "X$LD_SH_DEBUG_LOG" != "X" ]; then
echo ld.sh "$SAVE" >>$LD_SH_DEBUG_LOG
echo link.exe $CMD >>$LD_SH_DEBUG_LOG