[Ttssh2-commit] [3247] ライブラリ関係の説明をまとめた

svnno****@sourc***** svnno****@sourc*****
2009年 3月 26日 (木) 21:21:04 JST


Revision: 3247
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3247
Author:   maya
Date:     2009-03-26 21:21:04 +0900 (Thu, 26 Mar 2009)

Log Message:
-----------
ライブラリ関係の説明をまとめた

Modified Paths:
--------------
    trunk/doc/en/html/reference/develop.txt
    trunk/doc/jp/html/reference/develop.txt

Property Changed:
----------------
    trunk/doc/en/html/reference/develop.txt
    trunk/doc/jp/html/reference/develop.txt

Modified: trunk/doc/en/html/reference/develop.txt
===================================================================
--- trunk/doc/en/html/reference/develop.txt	2009-03-26 12:20:37 UTC (rev 3246)
+++ trunk/doc/en/html/reference/develop.txt	2009-03-26 12:21:04 UTC (rev 3247)
@@ -79,37 +79,35 @@
    ... doc/LANG/teraterm.hhp
 
 
+* How to build Libraries
+  1. PuTTY (used by TTSSH)
+     (1) Extract putty source into libs/putty directory.
+
+  2. Oniguruma (used by Tera Term Macro)
+     (1) Extract oniguruma source into libs/oniguruma directory.
+     (2) Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
+     (3) Move 'libs' directory on the command prompt. And run buildoniguruma.bat.
+
+  3. OpenSSL (used by TTSSH and TTProxy)
+     (1) Extract openssl source into libs/openssl directory.
+     (2) Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
+     (3) Move 'libs' directory on the command prompt. And run ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚µAbuildopenssl.bat.
+
+  4. Zlib (used by TTSSH)
+     (1) Extract zlib source into libs/zlib directory.
+     (2) Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
+     (3) Move 'libs' directory on the command prompt. And run ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚µAbuildzlib.bat.
+
+
 * How to build Tera Term
   To build Tera Term source code is shown in the following step:
   And you should use Visual Studio 2005 Standard Edition later version to build Tera Term because Tera Term program links MFC library (Visual Studio 2005 Express Edition can't be used).
 
   1. Checkout Tera Term source code from SourceForge(http://sourceforge.jp/projects/ttssh2/).
-  2. Download 'Oniguruma' source code(http://www.geocities.jp/kosako3/oniguruma/) and extract into 'libs\oniguruma' directory.
-
-       - Automatic procedure of build is following step:
-       Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
-       Move 'libs' directory on the command prompt.
-       Run buildoniguruma.bat.
-
-       - Manual procedure of build is following step:
-       Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
-       Move 'libs\oniguruma' directory on the command prompt.
-       And input the following command lines to build 'Oniguruma' regular expression library(links to onig_s.lib).
-       (1) copy win32\Makefile Makefile
-       (2) copy win32\config.h config.h
-       (3) Open Makefile and append /MT at end of CFLAGS line.
-       (4) copy Makefile Makefile.debug
-       (5) Open Makefile.debug and modify CFLAG line from /MT to /MTd.
-           And modify libname to debug\$(libbase)_s.lib.
-       (6) mkdir debug
-       (7) nmake -f Makefile.debug
-       (8) nmake clean
-       (9) nmake
-
-  3. Open teraterm\visualc\ttermpro.sln with Visual Studio.
+  2. Open teraterm\visualc\ttermpro.sln with Visual Studio.
      The linefeed code of .sln file must be "CR+LF".
-  4. Build Tera Term solution.
-  5. Tera Term execution program will be generated in teraterm\visualc\bin directory if the building is successful.
+  3. Build Tera Term solution.
+  4. Tera Term execution program will be generated in teraterm\visualc\bin directory if the building is successful.
 
 
 * How to build TeraTerm Menu
@@ -152,42 +150,11 @@
       + #define IDC_STATIC -1
 
   1. Checkout TTSSH source code from SourceForge(http://sourceforge.jp/projects/ttssh2/).
+  2. Open ttssh2\ttssh.sln with Visual Studio.
+  3. Build TTSSH solution.
+  4. TTSSH DLL will be generated in ttssh2\ttxssh directory if the building is successful.
 
-  2. Extract zlib source code(http://www.zlib.net/) into libs\zlib directory.
-      + Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
-      + Move 'lib' directory on the command prompt.
-      + Run buildzlib.bat.
 
-  3. Extract OpenSSL source code(http://www.openssl.org/) into libs\openssl directory.
-      Build OpenSSL in the following step(Release:TTSSH links to openssl\out32\libeay32.lib, Debug:openssl\out32.dbg\libeay32.lib):
-
-      - Build OpenSSL automatically.
-      + Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
-      + Move 'libs' directory on the command prompt.
-      + Run buildopenssl.bat.
-
-      - Build OpenSSL manually.
-      + Launch 'Visual Studio 2005 Command Prompt' batch file from start menu.
-      + cd openssl
-      + perl Configure VC-WIN32
-          (Yes, you need perl to build OpenSSL!)
-      + Open ms\do_ms.bat and append the following line at the next line of 'ms\nt.mak' line.
-        "perl util\mk1mf.pl no-asm debug VC-WIN32 >ms\ntd.mak"
-      + ms\do_ms
-      + Open ms\nt.mak and modify CFLAG line from /MD to /MT.
-      + Open ms\ntd.mak and modify CFLAG line from /MDd to /MTd.
-      + nmake -f ms\nt.mak
-      + nmake -f ms\ntd.mak
-      + cd ..
-          (Now you are back in ttssh2 folder.)
-        See the instruction in the OpenSSL documentation for details.
-
-  5. Extract PuTTY source code(http://www.chiark.greenend.org.uk/~sgtatham/putty/) into libs\putty directory.
-  5. Open ttssh2\ttssh.sln with Visual Studio.
-  6. Build TTSSH solution.
-  7. TTSSH DLL will be generated in ttssh2\ttxssh directory if the building is successful.
-
-
 * How to build CygTerm
   To build CygTerm source code is shown in the following step:
 


Property changes on: trunk/doc/en/html/reference/develop.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Modified: trunk/doc/jp/html/reference/develop.txt
===================================================================
--- trunk/doc/jp/html/reference/develop.txt	2009-03-26 12:20:37 UTC (rev 3246)
+++ trunk/doc/jp/html/reference/develop.txt	2009-03-26 12:21:04 UTC (rev 3247)
@@ -85,37 +85,35 @@
    ... doc/LANG/teraterm.hhp
 
 
+¡ ƒ‰ƒCƒuƒ‰ƒŠ‚̃rƒ‹ƒh•û–@
+  1. PuTTY (used by TTSSH)
+     (1) putty ‚̃\[ƒX‚ð libs/putty ‚Ì’†‚É“WŠJ‚·‚éB
+
+  2. Oniguruma (used by Tera Term Macro)
+     (1) oniguruma ‚̃\[ƒX‚ð libs/oniguruma ‚Ì’†‚É“WŠJ‚·‚éB
+     (2) ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
+     (3) ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚µAbuildoniguruma.bat ‚ðŽÀs‚·‚éB
+
+  3. OpenSSL (used by TTSSH and TTProxy)
+     (1) openssl ‚̃\[ƒX‚ð libs/openssl ‚Ì’†‚É“WŠJ‚·‚éB
+     (2) ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
+     (3) ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚µAbuildopenssl.bat ‚ðŽÀs‚·‚éB
+
+  4. Zlib (used by TTSSH)
+     (1) zlib ‚̃\[ƒX‚ð libs/zlib ‚Ì’†‚É“WŠJ‚·‚éB
+     (2) ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
+     (3) ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚µAbuildzlib.bat ‚ðŽÀs‚·‚éB
+
+
 ¡ Tera Term‚̃rƒ‹ƒh•û–@
   Tera Term‚̃rƒ‹ƒh•û–@‚ɂ‚¢‚Ĉȉº‚ÉŽ¦‚µ‚Ü‚·B
   ƒrƒ‹ƒh‚É‚ÍVisual Studio 2005 Standard EditionˆÈã‚ª•K—v‚Å‚·iVisual Studio 2005 Express Edition‚Í•s‰ÂjB
 
   1. ƒ\[ƒXƒR[ƒh‚ðSourceForge(http://sourceforge.jp/projects/ttssh2/)‚©‚çƒ`ƒFƒbƒNƒAƒEƒg‚·‚éB
-  2. Oniguruma‚̃\[ƒXƒR[ƒh(http://www.geocities.jp/kosako3/oniguruma/)‚ð libs\oniguruma ƒfƒBƒŒƒNƒgƒŠ‚Ì’†‚É“WŠJ‚·‚éB
-
-       - Ž©“®‚ōs‚¤ê‡
-       ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
-       ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚·‚éB
-       buildoniguruma.bat ‚ðŽÀs‚·‚éB
-
-       - Žè“®‚ōs‚¤ê‡
-       ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
-       ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs\oniguruma ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚·‚éB
-       ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒg‚©‚çˆÈ‰º‚Ì“ü—Í‚ðs‚¢AOniguruma‚ðƒrƒ‹ƒh‚·‚éionig_s.lib‚ªƒŠƒ“ƒN‚³‚ê‚éjB
-       (1) copy win32\Makefile Makefile
-       (2) copy win32\config.h config.h
-       (3) Makefile ‚ðƒGƒfƒBƒ^‚ÅŠJ‚¢‚āACFLAGS ‚̍s‚É /MT ‚ð’ljÁ‚·‚é
-       (4) copy Makefile Makefile.debug
-       (5) Makefile.debug ‚ðƒGƒfƒBƒ^‚ÅŠJ‚¢‚āACFLAGS ‚̍s‚Ì /MT ‚ð /MTd ‚ɕύX‚·‚é
-           ‚Ü‚½Alibname ‚ð debug\$(libbase)_s.lib ‚ɕύX‚·‚é
-       (6) mkdir debug
-       (7) nmake -f Makefile.debug
-       (8) nmake clean
-       (9) nmake
-
-  3. teraterm\visualc\ttermpro.sln ‚ðVisual Studio‚ÅŠJ‚­B
+  2. teraterm\visualc\ttermpro.sln ‚ðVisual Studio‚ÅŠJ‚­B
      .slnƒtƒ@ƒCƒ‹‚̉üsƒR[ƒh‚ª"LF"‚É‚È‚Á‚Ä‚¢‚é‚ƁAVisual Studio‚ª‹N“®‚µ‚È‚¢‚Ì‚Å’ˆÓŠè‚¢‚Ü‚·B
-  4. ƒ\ƒŠƒ…[ƒVƒ‡ƒ“‚ðƒrƒ‹ƒh‚·‚é
-  5. ƒrƒ‹ƒh‚ɐ¬Œ÷‚·‚é‚Æteraterm ƒfƒBƒŒƒNƒgƒŠ‚ÉŽÀsƒvƒƒOƒ‰ƒ€‚ª¶¬‚³‚ê‚é
+  3. ƒ\ƒŠƒ…[ƒVƒ‡ƒ“‚ðƒrƒ‹ƒh‚·‚é
+  4. ƒrƒ‹ƒh‚ɐ¬Œ÷‚·‚é‚Æteraterm ƒfƒBƒŒƒNƒgƒŠ‚ÉŽÀsƒvƒƒOƒ‰ƒ€‚ª¶¬‚³‚ê‚é
 
 
 ¡ TeraTerm Menu‚̃rƒ‹ƒh•û–@
@@ -158,42 +156,11 @@
       + #define IDC_STATIC -1
 
   1. ƒ\[ƒXƒR[ƒh‚ðSourceForge(http://sourceforge.jp/projects/ttssh2/)‚©‚çƒ`ƒFƒbƒNƒAƒEƒg‚·‚éB
+  2. ttssh2\ttssh.sln ‚ðVisual Studio‚ÅŠJ‚­
+  3. ƒ\ƒŠƒ…[ƒVƒ‡ƒ“‚ðƒrƒ‹ƒh‚·‚é
+  4. ƒrƒ‹ƒh‚ɐ¬Œ÷‚·‚é‚Ættssh2\ttxssh ƒfƒBƒŒƒNƒgƒŠ‚ÉDLL‚ª¶¬‚³‚ê‚é
 
-  2. zlib‚̃\[ƒXƒR[ƒh(http://www.zlib.net/)‚ð libs\zlib ƒfƒBƒŒƒNƒgƒŠ‚Ì’†‚É“WŠJ‚·‚éB
-      + ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
-      + ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚·‚éB
-      + buildzlib.bat ‚ðŽÀs‚·‚éB
 
-  3. OpenSSL‚̃\[ƒXƒR[ƒh(http://www.openssl.org/)‚ð libs\openssl ƒfƒBƒŒƒNƒgƒŠ‚Ì’†‚É“WŠJ‚·‚éBOpenSSL‚ðƒrƒ‹ƒh‚·‚éiˆÈ‰ºŽQÆjB
-     Release ‚Å‚Í openssl\out32\libeay32.lib ‚ªADebug ‚Å‚Í openssl\out32.dbg\libeay32.lib ‚ªƒŠƒ“ƒN‚³‚ê‚邱‚Æ‚É‚È‚éB
-
-      - Ž©“®‚ōs‚¤ê‡
-      + ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
-      + ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚©‚ç libs ƒfƒBƒŒƒNƒgƒŠ‚Ɉړ®‚·‚éB
-      + buildopenssl.bat ‚ðŽÀs‚·‚éB
-
-      - Žè“®‚ōs‚¤ê‡
-      + ƒXƒ^[ƒgƒƒjƒ…[‚©‚çuVisual Studio 2005 ƒRƒ}ƒ“ƒh ƒvƒƒ“ƒvƒgv‚ð‹N“®‚·‚éB
-      + cd openssl
-      + perl Configure VC-WIN32
-          (‚»‚¤‚Å‚·AOpenSSL‚ðƒrƒ‹ƒh‚·‚é‚É‚Íperl‚ª•K—v‚Å‚·!)
-      + ms\do_ms.bat ‚ðƒGƒfƒBƒ^‚ÅŠJ‚¢‚āAms\nt.mak ‚ÌŽŸ‚̍s‚ɉº‹L‚Ì“à—e‚ð’Ç‹L‚·‚é
-        perl util\mk1mf.pl no-asm debug VC-WIN32 >ms\ntd.mak
-      + ms\do_ms
-      + ms\nt.mak ‚ðƒGƒfƒBƒ^‚ÅŠJ‚¢‚āACFLAGs‚Ì /MD ‚ð /MT ‚ɕύX‚·‚é
-      + ms\ntd.mak ‚ðƒGƒfƒBƒ^‚ÅŠJ‚¢‚āACFLAGs‚Ì /MDd ‚ð /MTd ‚ɕύX‚·‚é
-      + nmake -f ms\nt.mak
-      + nmake -f ms\ntd.mak
-      + cd ..
-          (ttssh2ƒtƒHƒ‹ƒ_‚É–ß‚è‚Ü‚·B)
-        Ú×‚ɂ‚¢‚ẮAOpenSSL‚̃hƒLƒ…ƒƒ“ƒg‚ðŽQÆ‚µ‚Ä‚­‚¾‚³‚¢B
-
-  4. PuTTY‚̃\[ƒXƒR[ƒh(http://www.chiark.greenend.org.uk/~sgtatham/putty/)‚ð libs\putty ƒfƒBƒŒƒNƒgƒŠ‚Ì’†‚É“WŠJ‚·‚éB
-  5. ttssh2\ttssh.sln ‚ðVisual Studio‚ÅŠJ‚­
-  6. ƒ\ƒŠƒ…[ƒVƒ‡ƒ“‚ðƒrƒ‹ƒh‚·‚é
-  7. ƒrƒ‹ƒh‚ɐ¬Œ÷‚·‚é‚Ættssh2\ttxssh ƒfƒBƒŒƒNƒgƒŠ‚ÉDLL‚ª¶¬‚³‚ê‚é
-
-
 ¡ CygTerm‚̃rƒ‹ƒh•û–@
   CygTerm‚̃rƒ‹ƒh•û–@‚ɂ‚¢‚Ĉȉº‚ÉŽ¦‚µ‚Ü‚·B
 
@@ -214,7 +181,6 @@
   2. TTXSamples\TTXSamples.sln ‚ðVisual Studio‚ÅŠJ‚­
   3. ƒ\ƒŠƒ…[ƒVƒ‡ƒ“‚ðƒrƒ‹ƒh‚·‚é
   4. ƒrƒ‹ƒh‚ɐ¬Œ÷‚·‚é‚Æ TTXSamples ƒfƒBƒŒƒNƒgƒŠ‚ÉDLL‚ª¶¬‚³‚ê‚é
-
   ŠeTTX‚̏ڍׂɂ‚¢‚ẮAƒvƒƒWƒFƒNƒg“à‚ÌReadMe-ja.txt‚ðŽQÆ‚µ‚Ä‚­‚¾‚³‚¢B
 
 


Property changes on: trunk/doc/jp/html/reference/develop.txt
___________________________________________________________________
Added: svn:mime-type
   + text/plain; charset=shift_jis




Ttssh2-commit メーリングリストの案内