summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-09-19 16:07:14 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-09-19 16:07:14 (GMT)
commit071f38c4823457396818de582f5af25884c2befe (patch)
treebb60547b900c3dd4b76cd76e43539909f6fd4a35 /win/makefile.vc
parentb81c66b4c7d8c66becb3def11d368d1af0c059ed (diff)
downloadtcl-071f38c4823457396818de582f5af25884c2befe.zip
tcl-071f38c4823457396818de582f5af25884c2befe.tar.gz
tcl-071f38c4823457396818de582f5af25884c2befe.tar.bz2
Eliminated some obsolete checks (Win98, IA64 etc.) to reduce the noise.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc19
1 files changed, 8 insertions, 11 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 4de6a1c..4da9da7 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -120,12 +120,12 @@ the build instructions.
# nodep = Turns off compatibility macros to ensure the core
# isn't being built with deprecated functions.
#
-# MACHINE=(ALPHA|AMD64|IA64|IX86)
+# MACHINE=(AMD64|IX86)
# Set the machine type used for the compiler, linker, and
# resource compiler. This hook is needed to tell the tools
-# when alternate platforms are requested. IX86 is the default
-# when not specified. If the CPU environment variable has been
-# set (ie: recent Platform SDK) then MACHINE is set from CPU.
+# when alternate platforms are requested. This should normally
+# NOT be set as it is automatically detected based on the
+# compiler in use.
#
# TMP_DIR=<path>
# OUT_DIR=<path>
@@ -153,11 +153,8 @@ the build instructions.
# c:\tcl_src\win\>nmake -f makefile.vc install INSTALLDIR=c:\progra~1\tcl
#
# Building for Win64
-# c:\tcl_src\win\>c:\progra~1\micros~1\vc98\bin\vcvars32.bat
-# Setting environment for using Microsoft Visual C++ tools.
-# c:\tcl_src\win\>c:\progra~1\platfo~1\setenv.bat /pre64 /RETAIL
-# Targeting Windows pre64 RETAIL
-# c:\tcl_src\win\>nmake -f makefile.vc MACHINE=IA64
+# c:\tcl_src\win\>c:\progra~1\platfo~1\setenv.bat /x64 /RETAIL
+# c:\tcl_src\win\>nmake -f makefile.vc
#
#------------------------------------------------------------------------------
#==============================================================================
@@ -476,7 +473,7 @@ cdebug =
!if $(SYMBOLS)
cdebug = $(cdebug) -Zi
!endif
-!else if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
+!else if "$(MACHINE)" == "AMD64"
### Warnings are too many, can't support warnings into errors.
cdebug = -Zi -Od $(DEBUGFLAGS)
!else
@@ -552,7 +549,7 @@ guilflags = $(lflags) -subsystem:windows
baselibs = netapi32.lib kernel32.lib user32.lib advapi32.lib userenv.lib ws2_32.lib
# Avoid 'unresolved external symbol __security_cookie' errors.
# c.f. http://support.microsoft.com/?id=894573
-!if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64"
+!if "$(MACHINE)" == "AMD64"
!if $(VCVERSION) > 1399 && $(VCVERSION) < 1500
baselibs = $(baselibs) bufferoverflowU.lib
!endif