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 fBNgÉÚ®µ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 fBNgÉÚ®µ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 +¡ CuÌrhû@ + 1. PuTTY (used by TTSSH) + (1) putty Ì\[Xð libs/putty ÌÉWJ·éB + + 2. Oniguruma (used by Tera Term Macro) + (1) oniguruma Ì\[Xð libs/oniguruma ÌÉWJ·éB + (2) X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB + (3) R}hvvgã©ç libs fBNgÉÚ®µAbuildoniguruma.bat ðÀs·éB + + 3. OpenSSL (used by TTSSH and TTProxy) + (1) openssl Ì\[Xð libs/openssl ÌÉWJ·éB + (2) X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB + (3) R}hvvgã©ç libs fBNgÉÚ®µAbuildopenssl.bat ðÀs·éB + + 4. Zlib (used by TTSSH) + (1) zlib Ì\[Xð libs/zlib ÌÉWJ·éB + (2) X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB + (3) R}hvvgã©ç libs fBNgÉÚ®µAbuildzlib.bat ðÀs·éB + + ¡ Tera TermÌrhû@ Tera TermÌrhû@É¢ÄȺɦµÜ·B rhÉÍVisual Studio 2005 Standard EditionÈãªKvÅ·iVisual Studio 2005 Express EditionÍsÂjB 1. \[XR[hðSourceForge(http://sourceforge.jp/projects/ttssh2/)©ç`FbNAEg·éB - 2. OnigurumaÌ\[XR[h(http://www.geocities.jp/kosako3/oniguruma/)ð libs\oniguruma fBNgÌÉWJ·éB - - - ©®Ås¤ê - X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB - R}hvvgã©ç libs fBNgÉÚ®·éB - buildoniguruma.bat ðÀs·éB - - - è®Ås¤ê - X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB - R}hvvgã©ç libs\oniguruma fBNgÉÚ®·éB - R}hvvg©çȺÌüÍðs¢AOnigurumaðrh·éionig_s.libªN³êéjB - (1) copy win32\Makefile Makefile - (2) copy win32\config.h config.h - (3) Makefile ðGfB^ÅJ¢ÄACFLAGS ÌsÉ /MT ðÇÁ·é - (4) copy Makefile Makefile.debug - (5) Makefile.debug ðGfB^Å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ÅJB + 2. teraterm\visualc\ttermpro.sln ðVisual StudioÅJB .slnt@CÌüsR[hª"LF"ÉÈÁÄ¢éÆAVisual StudioªN®µÈ¢ÌÅÓè¢Ü·B - 4. \ [Vðrh·é - 5. rhɬ÷·éÆteraterm fBNgÉÀsvOª¶¬³êé + 3. \ [Vðrh·é + 4. rhɬ÷·éÆteraterm fBNgÉÀsvOª¶¬³êé ¡ TeraTerm MenuÌrhû@ @@ -158,42 +156,11 @@ + #define IDC_STATIC -1 1. \[XR[hðSourceForge(http://sourceforge.jp/projects/ttssh2/)©ç`FbNAEg·éB + 2. ttssh2\ttssh.sln ðVisual StudioÅJ + 3. \ [Vðrh·é + 4. rhɬ÷·éÆttssh2\ttxssh fBNgÉDLLª¶¬³êé - 2. zlibÌ\[XR[h(http://www.zlib.net/)ð libs\zlib fBNgÌÉWJ·éB - + X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB - + R}hvvgã©ç libs fBNgÉÚ®·éB - + buildzlib.bat ðÀs·éB - 3. OpenSSLÌ\[XR[h(http://www.openssl.org/)ð libs\openssl fBNgÌÉWJ·éBOpenSSLðrh·éiȺQÆjB - Release ÅÍ openssl\out32\libeay32.lib ªADebug ÅÍ openssl\out32.dbg\libeay32.lib ªN³êé±ÆÉÈéB - - - ©®Ås¤ê - + X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB - + R}hvvgã©ç libs fBNgÉÚ®·éB - + buildopenssl.bat ðÀs·éB - - - è®Ås¤ê - + X^[gj [©çuVisual Studio 2005 R}h vvgvðN®·éB - + cd openssl - + perl Configure VC-WIN32 - (»¤Å·AOpenSSLðrh·éÉÍperlªKvÅ·!) - + ms\do_ms.bat ðGfB^Å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 ðGfB^ÅJ¢ÄACFLAGsÌ /MD ð /MT ÉÏX·é - + ms\ntd.mak ðGfB^ÅJ¢ÄACFLAGsÌ /MDd ð /MTd ÉÏX·é - + nmake -f ms\nt.mak - + nmake -f ms\ntd.mak - + cd .. - (ttssh2tH_ÉßèÜ·B) - Ú×É¢ÄÍAOpenSSLÌhL gðQƵľ³¢B - - 4. PuTTYÌ\[XR[h(http://www.chiark.greenend.org.uk/~sgtatham/putty/)ð libs\putty fBNgÌÉWJ·éB - 5. ttssh2\ttssh.sln ðVisual StudioÅJ - 6. \ [Vðrh·é - 7. rhɬ÷·éÆttssh2\ttxssh fBNgÉDLLª¶¬³êé - - ¡ CygTermÌrhû@ CygTermÌrhû@É¢ÄȺɦµÜ·B @@ -214,7 +181,6 @@ 2. TTXSamples\TTXSamples.sln ðVisual StudioÅJ 3. \ [Vðrh·é 4. rhɬ÷·éÆ TTXSamples fBNgÉDLLª¶¬³êé - eTTXÌÚ×É¢ÄÍAvWFNgàÌReadMe-ja.txtðQƵľ³¢B Property changes on: trunk/doc/jp/html/reference/develop.txt ___________________________________________________________________ Added: svn:mime-type + text/plain; charset=shift_jis