/ Check-in [3e355846]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Attempt to detect when the MSVC linker requires the /MACHINE argument.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | msvcTcl
Files: files | file ages | folders
SHA3-256: 3e355846217785c30f518d31a5541172c4213c0d8559c3f8638a047cd745c98e
User & Date: mistachkin 2019-03-22 16:52:17
Context
2019-03-22
22:34
Further enhancements and fixes. check-in: c9f1972e user: mistachkin tags: msvcTcl
16:52
Attempt to detect when the MSVC linker requires the /MACHINE argument. check-in: 3e355846 user: mistachkin tags: msvcTcl
01:26
Sync up the autoconf makefile for MSVC. check-in: ecbae90a user: mistachkin tags: msvcTcl
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

  1084   1084   # If a platform was set, force the linker to target that.
  1085   1085   # Note that the vcvars*.bat family of batch files typically
  1086   1086   # set this for you.  Otherwise, the linker will attempt
  1087   1087   # to deduce the binary type based on the object files.
  1088   1088   !IFDEF PLATFORM
  1089   1089   LTLINKOPTS = /NOLOGO /MACHINE:$(PLATFORM)
  1090   1090   LTLIBOPTS = /NOLOGO /MACHINE:$(PLATFORM)
         1091  +!ELSE
         1092  +!IFDEF VISUALSTUDIOVERSION
         1093  +!IF "$(VISUALSTUDIOVERSION)">="12.0"
         1094  +LTLINKOPTS = /NOLOGO /MACHINE:x86
         1095  +LTLIBOPTS = /NOLOGO /MACHINE:x86
         1096  +!ELSE
         1097  +LTLINKOPTS = /NOLOGO
         1098  +LTLIBOPTS = /NOLOGO
         1099  +!ENDIF
  1091   1100   !ELSE
  1092   1101   LTLINKOPTS = /NOLOGO
  1093   1102   LTLIBOPTS = /NOLOGO
         1103  +!ENDIF
  1094   1104   !ENDIF
  1095   1105   
  1096   1106   # When compiling for use in the WinRT environment, the following
  1097   1107   # linker option must be used to mark the executable as runnable
  1098   1108   # only in the context of an application container.
  1099   1109   #
  1100   1110   !IF $(FOR_WINRT)!=0