shintao AKIYAMA
kam****@ki*****
2008年 5月 23日 (金) 22:35:20 JST
こんにちわ。秋山と言います VC++2005Relaseモードでビルドできるようにしたパッチです。 ext以下もビルドできることは確認しました。 cvs版だとcgenまわりが変わっているようなので手でgencomp動かしましたが。 Index: src/dl_win.c =================================================================== RCS file: /cvsroot/gauche/Gauche/src/dl_win.c,v retrieving revision 1.8 diff -r1.8 dl_win.c 42c42 < #include <windows.h> --- > #include <gauche.h> 60c60 < --- > typedef void (*ScmDynLoadInitFn)(void); Index: src/getdir_win.c =================================================================== RCS file: /cvsroot/gauche/Gauche/src/getdir_win.c,v retrieving revision 1.6 diff -r1.6 getdir_win.c 8a9 > #include <gauche.h> Index: winnt/configure.js =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/configure.js,v retrieving revision 1.5 diff -r1.5 configure.js 44a45 > "#include <process.h>", Index: winnt/ext-auxsys.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-auxsys.vcproj,v retrieving revision 1.2 diff -r1.2 ext-auxsys.vcproj 138a139 > OutputFile="$(OutDir)\auxsys.dll" Index: winnt/ext-binary.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-binary.vcproj,v retrieving revision 1.1 diff -r1.1 ext-binary.vcproj 137a138 > OutputFile="$(OutDir)\binary.dll" Index: winnt/ext-charconv.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-charconv.vcproj,v retrieving revision 1.2 diff -r1.2 ext-charconv.vcproj 101c101 < WholeProgramOptimization="1" --- > WholeProgramOptimization="0" 119a120 > WholeProgramOptimization="false" 122c123 < UsePrecompiledHeader="2" --- > UsePrecompiledHeader="0" 137a139,140 > AdditionalDependencies="libgauche.lib" > OutputFile="$(OutDir)\libcharconv.dll" 138a142 > AdditionalLibraryDirectories="$(OutDir)" 220a225,232 > <FileConfiguration > Name="Release|Win32" > ExcludedFromBuild="true" > > > <Tool > Name="VCCLCompilerTool" > /> > </FileConfiguration> Index: winnt/ext-digest-md5.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-digest-md5.vcproj,v retrieving revision 1.1 diff -r1.1 ext-digest-md5.vcproj 136a137 > OutputFile="$(OutDir)\md5.dll" Index: winnt/ext-digest-sha1.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-digest-sha1.vcproj,v retrieving revision 1.1 diff -r1.1 ext-digest-sha1.vcproj 136a137 > OutputFile="$(OutDir)\sha1.dll" Index: winnt/ext-fcntl.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-fcntl.vcproj,v retrieving revision 1.1 diff -r1.1 ext-fcntl.vcproj 136a137 > OutputFile="$(OutDir)\fcntl.dll" Index: winnt/ext-file-util.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-file-util.vcproj,v retrieving revision 1.1 diff -r1.1 ext-file-util.vcproj 136a137 > OutputFile="$(OutDir)\file-util-lib.dll" Index: winnt/ext-gauche-collection.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-gauche-collection.vcproj,v retrieving revision 1.1 diff -r1.1 ext-gauche-collection.vcproj 136a137 > OutputFile="$(OutDir)\gauche-collection-lib.dll" Index: winnt/ext-gauche-hook.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-gauche-hook.vcproj,v retrieving revision 1.1 diff -r1.1 ext-gauche-hook.vcproj 136a137 > OutputFile="$(OutDir)\gauche-hook-lib.dll" Index: winnt/ext-gauche-parameter.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-gauche-parameter.vcproj,v retrieving revision 1.1 diff -r1.1 ext-gauche-parameter.vcproj 136a137 > OutputFile="$(OutDir)\gauche-parameter-lib.dll" Index: winnt/ext-gauche-sequence.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-gauche-sequence.vcproj,v retrieving revision 1.1 diff -r1.1 ext-gauche-sequence.vcproj 136a137 > OutputFile="$(OutDir)\gauche-sequence-lib.dll" Index: winnt/ext-mt-random.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-mt-random.vcproj,v retrieving revision 1.1 diff -r1.1 ext-mt-random.vcproj 136a137 > OutputFile="$(OutDir)\mt-random.dll" Index: winnt/ext-net.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-net.vcproj,v retrieving revision 1.2 diff -r1.2 ext-net.vcproj 101c101 < WholeProgramOptimization="1" --- > WholeProgramOptimization="0" 119a120 > WholeProgramOptimization="false" 137a139,140 > AdditionalDependencies="ws2_32.lib" > OutputFile="$(OutDir)\libnet.dll" 142a146 > LinkTimeCodeGeneration="0" Index: winnt/ext-srfi-1.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-srfi-1.vcproj,v retrieving revision 1.1 diff -r1.1 ext-srfi-1.vcproj 136a137 > OutputFile="$(OutDir)\srfi-1-lib.dll" Index: winnt/ext-srfi-13.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-srfi-13.vcproj,v retrieving revision 1.2 diff -r1.2 ext-srfi-13.vcproj 136a137 > OutputFile="$(OutDir)\srfi-13-lib.dll" Index: winnt/ext-srfi-19.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-srfi-19.vcproj,v retrieving revision 1.1 diff -r1.1 ext-srfi-19.vcproj 136a137 > OutputFile="$(OutDir)\srfi-19-lib.dll" Index: winnt/ext-srfi-43.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-srfi-43.vcproj,v retrieving revision 1.1 diff -r1.1 ext-srfi-43.vcproj 136a137 > OutputFile="$(OutDir)\srfi-43-lib.dll" Index: winnt/ext-sxml-serializer.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-sxml-serializer.vcproj,v retrieving revision 1.2 diff -r1.2 ext-sxml-serializer.vcproj 136a137 > OutputFile="$(OutDir)\sxml-serializer.dll" Index: winnt/ext-sxml-ssax.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-sxml-ssax.vcproj,v retrieving revision 1.1 diff -r1.1 ext-sxml-ssax.vcproj 136a137 > OutputFile="$(OutDir)\sxml-ssax.dll" Index: winnt/ext-sxml-sxpath.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-sxml-sxpath.vcproj,v retrieving revision 1.1 diff -r1.1 ext-sxml-sxpath.vcproj 136a137 > OutputFile="$(OutDir)\sxml-sxpath.dll" Index: winnt/ext-sxml-tools.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-sxml-tools.vcproj,v retrieving revision 1.1 diff -r1.1 ext-sxml-tools.vcproj 136a137 > OutputFile="$(OutDir)\sxml-tools.dll" Index: winnt/ext-syslog.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-syslog.vcproj,v retrieving revision 1.1 diff -r1.1 ext-syslog.vcproj 136a137 > OutputFile="$(OutDir)\syslog.dll" Index: winnt/ext-termios.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-termios.vcproj,v retrieving revision 1.1 diff -r1.1 ext-termios.vcproj 136a137 > OutputFile="$(OutDir)\termios.dll" Index: winnt/ext-threads.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-threads.vcproj,v retrieving revision 1.1 diff -r1.1 ext-threads.vcproj 136a137 > OutputFile="$(OutDir)\threads.dll" Index: winnt/ext-util-match.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-util-match.vcproj,v retrieving revision 1.1 diff -r1.1 ext-util-match.vcproj 136a137 > OutputFile="$(OutDir)\util-match-lib.dll" Index: winnt/ext-uvector.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-uvector.vcproj,v retrieving revision 1.3 diff -r1.3 ext-uvector.vcproj 101c101 < WholeProgramOptimization="1" --- > WholeProgramOptimization="0" 119a120,121 > WholeProgramOptimization="false" > AdditionalIncludeDirectories=".;..\src;..\gc\include" 137a140 > OutputFile="$(OutDir)\libgauche-uvector.dll" 142a146 > LinkTimeCodeGeneration="0" 204a209,215 > <FileConfiguration > Name="Release|Win32" > > > <Tool > Name="VCCLCompilerTool" > /> > </FileConfiguration> Index: winnt/ext-vport.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/ext-vport.vcproj,v retrieving revision 1.1 diff -r1.1 ext-vport.vcproj 137a138 > OutputFile="$(OutDir)\vport.dll" Index: winnt/gauche-config.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/gauche-config.vcproj,v retrieving revision 1.1 diff -r1.1 gauche-config.vcproj 119a120 > AdditionalIncludeDirectories=".;..\src;..\gc\include" 137a139 > AdditionalDependencies="shlwapi.lib" Index: winnt/gosh.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/gosh.vcproj,v retrieving revision 1.1 diff -r1.1 gosh.vcproj 119a120 > AdditionalIncludeDirectories=".;..\src;..\gc\include" Index: winnt/libgauche.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/libgauche.vcproj,v retrieving revision 1.2 diff -r1.2 libgauche.vcproj 106c106 < WholeProgramOptimization="1" --- > WholeProgramOptimization="0" 109a110,111 > Description="cscript configure.js" > CommandLine="cscript configure.js" 125c125,127 < PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GAUCHE_EXPORTS" --- > WholeProgramOptimization="false" > AdditionalIncludeDirectories=".;..\src;..\gc\include;"..\gc\libatomic_ops-1.2\src"" > PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL;GC_WIN32_THREADS;_CRT_SECURE_NO_WARNINGS;NO_GETENV;SILENT;NO_SIGNALS;NO_EXECUTE_PERMISSION;ALL_INTERIOR_POINTERS;JAVA_FINALIZATION;GC_GCJ_SUPPORT;ATOMIC_UNCOLLECTABLE;DONT_ADD_BYTE_AT_END;LARGE_CONFIG;GC_BUILD" 142a145 > AdditionalDependencies="netapi32.lib shlwapi.lib ws2_32.lib" 147a151 > LinkTimeCodeGeneration="0" 228a233,240 > <FileConfiguration > Name="Release|Win32" > ExcludedFromBuild="true" > > > <Tool > Name="VCCLCompilerTool" > /> > </FileConfiguration> Index: winnt/test-arith.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/test-arith.vcproj,v retrieving revision 1.1 diff -r1.1 test-arith.vcproj 118a119 > AdditionalIncludeDirectories=".;..\src;..\gc\include" Index: winnt/test-vmstack.vcproj =================================================================== RCS file: /cvsroot/gauche/Gauche/winnt/test-vmstack.vcproj,v retrieving revision 1.1 diff -r1.1 test-vmstack.vcproj 118a119 > AdditionalIncludeDirectories=".;..\src;..\gc\include" -- shintaro akiyama