Re: WinHugs beta

Neil Mitchell <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <[email protected]>
> > The installer requires MSVCR71.dll.  I understand that this is available
> > at no charge with the MVC kit 2003, but that this is only for Win2000
> > and later.

This patch changes the project file to build static versions of the
required dll's into the program. This increases the base installer
size by 30Kb, but removes requirements on any dll's beyond those
provided by standard windows 95 and above. It also toggles on a pile
of size optimisations which get back 5Kb of that increase, so the end
installer size is 55Kb, and entirely any windows compatible.

I'll think about bundling an appropriate copy of MSVCR71.dll with
WinHugs.exe in the installer, will fix that in the next few days.

Thanks

Neil

_______________________________________________
Cvs-hugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-hugs
Installer.vcproj.patch (application/octet-stream, 1.9 KB)
Index: src/winhugs/installer/Installer.vcproj
===================================================================
RCS file: /cvs/hugs98/src/winhugs/installer/Installer.vcproj,v
retrieving revision 1.1
diff -u -r1.1 Installer.vcproj
--- src/winhugs/installer/Installer.vcproj	6 Oct 2005 11:18:43 -0000	1.1
+++ src/winhugs/installer/Installer.vcproj	10 Oct 2005 14:49:05 -0000
@@ -23,7 +23,7 @@
 				Optimization="0"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
 				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
+				RuntimeLibrary="5"
 				UsePrecompiledHeader="2"
 				PrecompiledHeaderFile=".\Debug/Installer.pch"
 				AssemblerListingLocation=".\Debug/"
@@ -36,7 +36,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib"
+				AdditionalDependencies="comctl32.lib"
 				OutputFile=".\Debug/Installer.exe"
 				SuppressStartupBanner="TRUE"
 				GenerateDebugInformation="TRUE"
@@ -79,16 +79,19 @@
 			ConfigurationType="1"
 			UseOfMFC="0"
 			ATLMinimizesCRunTimeLibraryUsage="FALSE"
-			CharacterSet="2">
+			CharacterSet="2"
+			WholeProgramOptimization="TRUE">
 			<Tool
 				Name="VCCLCompilerTool"
-				Optimization="2"
+				Optimization="1"
+				GlobalOptimizations="TRUE"
 				InlineFunctionExpansion="1"
+				FavorSizeOrSpeed="2"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
 				StringPooling="TRUE"
-				RuntimeLibrary="2"
+				RuntimeLibrary="4"
 				EnableFunctionLevelLinking="TRUE"
-				UsePrecompiledHeader="2"
+				UsePrecompiledHeader="0"
 				PrecompiledHeaderFile=".\Release/Installer.pch"
 				AssemblerListingLocation=".\Release/"
 				ObjectFile=".\Release/"
@@ -99,7 +102,7 @@
 				Name="VCCustomBuildTool"/>
 			<Tool
 				Name="VCLinkerTool"
-				AdditionalDependencies="odbc32.lib odbccp32.lib comctl32.lib"
+				AdditionalDependencies="comctl32.lib"
 				OutputFile=".\Release/Installer.exe"
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.