aboutsummaryrefslogtreecommitdiff
path: root/msvc-12
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-29 18:14:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-29 18:14:06 +0200
commitb0e0ca4e60483b76383ae3575ef39423fda608d6 (patch)
treea246d666a5fd74a04b5ad6dae8422ad563840600 /msvc-12
parent9f6facd4f3bcc3b7f522c74616c184d7b8cdbfb4 (diff)
Use 64-to-32 cross compiler for VC 12 and 14
32-bit link.exe hangs with /DEBUG.
Diffstat (limited to 'msvc-12')
-rwxr-xr-xmsvc-127
1 files changed, 4 insertions, 3 deletions
diff --git a/msvc-12 b/msvc-12
index e124a1b..e4d9500 100755
--- a/msvc-12
+++ b/msvc-12
@@ -1,8 +1,8 @@
#! /usr/bin/env bash
-# MSVC 12 setup/configuration.
+# MSVC 12 32-bit setup/configuration (note: using 64-to-32 cross-compiler).
#
-# Should set the SDKBIN, VCBIN, INCLUDE, and LIB variables.
+# Should set the SDKBIN, VCBIN, VCDLL, INCLUDE, and LIB variables.
#
# SDK
@@ -16,7 +16,8 @@ LIB="$SDK\\lib\\winv6.3\\um\\x86"
# VC
#
VC="C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC"
-VCBIN="$VC\\bin"
+VCBIN="$VC\\bin\\amd64_x86"
+VCDLL="$VC\\bin\\amd64"
INCLUDE="$VC\\include;$INCLUDE"
LIB="$VC\\lib;$LIB"