commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1060461 - /commons/proper/daemon/trunk/src/native/windows/README.dev
Date Tue, 18 Jan 2011 16:42:43 GMT
Author: markt
Date: Tue Jan 18 16:42:43 2011
New Revision: 1060461

URL: http://svn.apache.org/viewvc?rev=1060461&view=rev
Log:
Add some more details notes

Modified:
    commons/proper/daemon/trunk/src/native/windows/README.dev

Modified: commons/proper/daemon/trunk/src/native/windows/README.dev
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/README.dev?rev=1060461&r1=1060460&r2=1060461&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/README.dev (original)
+++ commons/proper/daemon/trunk/src/native/windows/README.dev Tue Jan 18 16:42:43 2011
@@ -23,3 +23,41 @@ be loaded inside running JVM if used.
 For building AMD64/EMT64 binaries use the Platform SDK
 for Windows Server 2003R2.
 
+
+Step by Step
+============
+
+0. These were written for 64-bit XP. YMMV.
+
+1. Install the pre-requisites:
+   - Microsoft Visual C 6
+   - Microsoft Visual C 6 Service Pack 5
+   - Platform SDK for Windows Server 2003 R2
+
+2. Open a new command prompt (to ensure the environment is clean)
+   You'll need to do this for each different platform you want to build
+
+3. Configure the Visual C environment variables
+   Not necessary if the option to add them to the user's environment was
+   selected on install
+   %VC6_DIR%\Bin\VCVARS32.BAT
+   (e.g. "c:\Program Files (x86)\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT")
+
+4. Configure the Platform SDK environment (optional for X86?)
+   - win32
+     <PlatformSdkDir>\SetEnv /SRV32 /RETAIL 
+   - x64
+     <PlatformSdkDir>\SetEnv /X64 /RETAIL 
+   - i64
+     <PlatformSdkDir>\SetEnv /SRV64 /RETAIL 
+
+5. On 64-bit platforms set the following environment variable
+   set EXTRA_CFLAGS=/GS-
+
+6. Build the binary
+   - win32
+     nmake CPU=X86
+   - x64
+     nmake CPU=X64
+   - ia64
+     nmake CPU=I64



Mime
View raw message