[Ttssh2-commit] [9236] システム環境変数の設定ではなく vsvars32.bat を変更する必要があることを明記

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 5月 4日 (火) 20:28:35 JST


Revision: 9236
          https://osdn.net/projects/ttssh2/scm/svn/commits/9236
Author:   nmaya
Date:     2021-05-04 20:28:35 +0900 (Tue, 04 May 2021)
Log Message:
-----------
システム環境変数の設定ではなく vsvars32.bat を変更する必要があることを明記

バッチファイルからのビルドのために環境変数を設定する必要がなくなったので削除
  %VS80COMNTOOLS% (インストールにより設定される) を発見して vsvars32.bat を呼ぶようになっている
  %VSINSTALLDIR% があると cl のバージョンチェックを通らない

Modified Paths:
--------------
    branches/4-stable/doc/en/html/reference/develop.txt
    branches/4-stable/doc/ja/html/reference/develop.txt

-------------- next part --------------
Modified: branches/4-stable/doc/en/html/reference/develop.txt
===================================================================
--- branches/4-stable/doc/en/html/reference/develop.txt	2021-05-04 10:13:12 UTC (rev 9235)
+++ branches/4-stable/doc/en/html/reference/develop.txt	2021-05-04 11:28:35 UTC (rev 9236)
@@ -8,12 +8,11 @@
    When Windows Vista or higher, Visual Studio 2005 Service Pack 1 Update for Windows Vista (VS80sp1-KB932232-X86-ENU.exe)
    Windows Server 2003 R2 Platform SDK(Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1)
    Note: The OpenSSL will not able to build by using the Visual Studio 2005 Standard Edition. So, install the Windows Server 2003 R2 Platform SDK to link the "Crypt32.Lib" library.
-         Configure the INCLUDE and LIB environment variables to be given priority for the SDK installation directory.
+         Append to the beginning of INCLUDE and LIB of C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat, to be given priority for the INCLUDE and LIB directory of SDK installation directory.
          e.g. INCLUDE "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include"
               LIB     "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib"
-              Fix batch file C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
 - Supported Compiler
--- Visual Studio 2005 (Added support from Tera Term 4.103)
+-- Visual Studio 2005 (Express Edition was supported from Tera Term 4.103)
    - SDK 7.0
      - Windows Server 2003 R2 Platform SDK
        (= Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1)
@@ -24,9 +23,7 @@
        (GRMSDK_EN_DVD.iso)
      - built binary is able to run on Windows 95.
      - To use with Visual Studio 2005, KB949009(VS80sp1-KB949009-X86-INTL.exe) or KB980422(VS80sp1-KB980422-x86-INTL.exe) is necessary.
-       - KB949009 and KB980422 are unavailable on Microsoft website.-- Visual Studio 2005 Express + Windows SDK 7.1
-   Microsoft Windows SDK for Windows 7 and .NET Framework 4 (GRMSDK_EN_DVD.iso)
-   VS80sp1-KB949009-X86-INTL.exe or VS80sp1-KB980422-x86-INTL.exe
+       - KB949009 and KB980422 are unavailable on Microsoft website.
 -- Visual Studio 2008 SP1 Standard Edition (or higher edition)
    Note: The executable program which was compiled by this version does not work on Windows NT 4.0, 95, 98 and Me.
 -- Visual Studio 2010 SP1 Professional Edition (or higher edition)
@@ -42,13 +39,6 @@
    Note: The executable program which was compiled by this version does not work on Windows Vista, XP, 2000, NT 4.0, 95, 98 and Me.
 -- Visual Studio Community 2019
    Note: The executable program which was compiled by this version does not work on Windows Vista, XP, 2000, NT 4.0, 95, 98 and Me.
-- How to build with batch file
-  Please execute the batch file on command prompt of Visual Studio. Otherwise, please configure below environment variables.
-  Please call "(x86) Native Tools Command Prompt" of your Visual Studio to register new PATH regarding the compiler path and VSINSTALLDIR variable.
-  Example: INCLUDE       C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows Kits\8.1\include\um;
-           LIB           C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86;
-           PATH          C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN;C:\Program Files (x86)\Windows Kits\8.1\bin\x86
-           VSINSTALLDIR  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
 - Installer
   Inno Setup 5.6.1 ANSI (http://www.jrsoftware.org/isinfo.php)
   Inno Setup Preprocessor

Modified: branches/4-stable/doc/ja/html/reference/develop.txt
===================================================================
--- branches/4-stable/doc/ja/html/reference/develop.txt	2021-05-04 10:13:12 UTC (rev 9235)
+++ branches/4-stable/doc/ja/html/reference/develop.txt	2021-05-04 11:28:35 UTC (rev 9236)
@@ -8,10 +8,9 @@
    Windows Vista \x88ȏ\xE3\x82Ńr\x83\x8B\x83h\x82\xB7\x82\xE9\x8Fꍇ\x82́AVisual Studio 2005 Service Pack 1 Update for Windows Vista (VS80sp1-KB932236-X86-JPN.exe)
    Windows Server 2003 R2 Platform SDK(Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1)
    \x92\x8D: Visual Studio 2005 Standard Edition\x82ł́AOpenSSL \x82̃r\x83\x8B\x83h\x82\xAA\x8E\xB8\x94s\x82\xB5\x82܂\xB7\x81BWindows Server 2003 R2 Platform SDK \x82\xF0\x83C\x83\x93\x83X\x83g\x81[\x83\x8B\x82\xB5\x81A"Crypt32.Lib"\x82\xF0\x83\x8A\x83\x93\x83N\x82ł\xAB\x82\xE9\x82悤\x82ɂ\xB5\x82Ă\xA8\x82\xAD\x95K\x97v\x82\xAA\x82\xA0\x82\xE8\x82܂\xB7\x81B
-       SDK \x82ŃC\x83\x93\x83X\x83g\x81[\x83\x8B\x82\xB3\x82ꂽ\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xAA\x8DŗD\x90\xE6\x82ɂȂ\xE9\x82悤\x81AINCLUDE \x82\xA8\x82\xE6\x82\xD1 LIB \x8A‹\xAB\x95ϐ\x94\x82\xF0\x90ݒ肵\x82܂\xB7\x81B
+       Platform SDK \x82\xCC INCLUDE, LIB \x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xAA\x97D\x90悳\x82\xEA\x82\xE9\x82悤\x81AC:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat \x82\xCC INCLUDE \x82\xA8\x82\xE6\x82\xD1 LIB \x82̐擪\x82ɒNjL\x82\xB5\x82܂\xB7\x81B
        \x97\xE1: INCLUDE "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include"
            LIB     "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib"
-           \x8FC\x90\xB3\x83o\x83b\x83`\x83t\x83@\x83C\x83\x8B C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
 - \x83T\x83|\x81[\x83g\x82\xB3\x82\xEA\x82Ă\xA2\x82\xE9\x83R\x83\x93\x83p\x83C\x83\x89
 -- Visual Studio 2005 (Express Edition\x82\xCDTera Term 4.103\x82\xA9\x82\xE7\x91Ή\x9E)
    - SDK 7.0
@@ -44,13 +43,6 @@
        Windows Vista, XP \x82\xF0\x83T\x83|\x81[\x83g\x82\xB7\x82\xE9\x82ɂ\xCD v141_xp \x82\xF0\x8Ew\x92肵\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
 -- Visual Studio Community 2019
    \x92\x8D: \x83R\x83\x93\x83p\x83C\x83\x8B\x82\xB3\x82ꂽ\x8E\xC0\x8Ds\x83t\x83@\x83C\x83\x8B\x82\xCD Windows Vista, XP, 2000, NT 4.0, 95, 98, Me \x82œ\xAE\x82\xAB\x82܂\xB9\x82\xF1\x81B
-- \x83o\x83b\x83`\x83t\x83@\x83C\x83\x8B\x82\xA9\x82\xE7\x83r\x83\x8B\x83h\x82\xB7\x82邽\x82߂\xC9
-  Visual Studio \x82̃R\x83}\x83\x93\x83h\x83v\x83\x8D\x83\x93\x83v\x83g\x82\xA9\x82\xE7\x83o\x83b\x83`\x83t\x83@\x83C\x83\x8B\x82\xF0\x8E\xC0\x8Ds\x82\xB7\x82邩\x81A\x88ȉ\xBA\x82̂悤\x82Ɋ‹\xAB\x95ϐ\x94\x82\xF0\x90ݒ肵\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
-  \x8Eg\x97p\x82\xB5\x82\xBD\x82\xA2\x83o\x81[\x83W\x83\x87\x83\x93\x82\xCC Visual Studio \x82\xCC "(x86) Native Tools Command Prompt" \x82\xF0\x8E\xC0\x8Ds\x82\xB5\x81A\x83R\x83\x93\x83p\x83C\x83\x89\x82̃p\x83X\x82Ɋ֌W\x82\xB7\x82\xE9 PATH \x82\xC6 VSINSTALLDIR \x95ϐ\x94\x82\xF0\x8A‹\xAB\x95ϐ\x94\x82ɓo\x98^\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B
-  \x97\xE1: INCLUDE       C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\8.1\include\shared;C:\Program Files (x86)\Windows Kits\8.1\include\um;
-      LIB           C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86;
-      PATH          C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN;C:\Program Files (x86)\Windows Kits\8.1\bin\x86
-      VSINSTALLDIR  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
 - \x83C\x83\x93\x83X\x83g\x81[\x83\x89
   Inno Setup 5.6.1 ANSI (http://www.jrsoftware.org/isinfo.php)
   Inno Setup Preprocessor


Ttssh2-commit メーリングリストの案内
Back to archive index