This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/1.3.x by this push:
     new f3594b9fb Update building instructions for Windows
f3594b9fb is described below

commit f3594b9fbdeb21916c9cfdbdb35ca4f4e0c40080
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Dec 17 11:48:59 2025 +0000

    Update building instructions for Windows
---
 native/BUILDING | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/native/BUILDING b/native/BUILDING
index c9f7532fb..79112388f 100644
--- a/native/BUILDING
+++ b/native/BUILDING
@@ -93,21 +93,22 @@ Windows
 3. Build APR
 
    Unpack the APR source distribution into native\srclib\apr
-   Apply apr-enable-ipv6.patch
+   No patches necessary if using APR 1.7.6 or later
    
+   > set WINVER=WIN7
    > c:\cmsc\setenv.bat x86 
    > nmake -f NMAKEmakefile BUILD_CPU=x86 APR_DECLARE_STATIC=1
-   > mkdir WINXP_X86_LIB_RELEASE\include
-   > mkdir WINXP_X86_LIB_RELEASE\lib
-   > xcopy /E include WINXP_X86_LIB_RELEASE\include\
-   > copy WINXP_X86_LIB_RELEASE\apr-1.lib WINXP_X86_LIB_RELEASE\lib
+   > mkdir WIN7_X86_LIB_RELEASE\include
+   > mkdir WIN7_X86_LIB_RELEASE\lib
+   > xcopy /E include WIN7_X86_LIB_RELEASE\include\
+   > copy WIN7_X86_LIB_RELEASE\apr-1.lib WIN7_X86_LIB_RELEASE\lib
    
    > c:\cmsc\setenv.bat x64
    > nmake -f NMAKEmakefile BUILD_CPU=x64 APR_DECLARE_STATIC=1
-   > mkdir WINXP_X64_LIB_RELEASE\include
-   > mkdir WINXP_X64_LIB_RELEASE\lib
-   > xcopy /E include WINXP_X64_LIB_RELEASE\include\
-   > copy WINXP_X64_LIB_RELEASE\apr-1.lib WINXP_X64_LIB_RELEASE\lib
+   > mkdir WIN7_X64_LIB_RELEASE\include
+   > mkdir WIN7_X64_LIB_RELEASE\lib
+   > xcopy /E include WIN7_X64_LIB_RELEASE\include\
+   > copy WIN7_X64_LIB_RELEASE\apr-1.lib WIN7_X64_LIB_RELEASE\lib
    
 4. Build OpenSSL
 
@@ -140,10 +141,10 @@ Windows
    > SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_71
 
    > c:\cmsc\setenv.bat x86
-   > nmake -f NMAKEMakefile WITH_APR=srclib\apr\WINXP_X86_LIB_RELEASE 
WITH_OPENSSL=srclib\openssl\release-x86 APR_DECLARE_STATIC=1
+   > nmake -f NMAKEMakefile WITH_APR=srclib\apr\WIN7_X86_LIB_RELEASE 
WITH_OPENSSL=srclib\openssl\release-x86 APR_DECLARE_STATIC=1
  
    > c:\cmsc\setenv.bat x64
-   > nmake -f NMAKEMakefile WITH_APR=srclib\apr\WINXP_X64_LIB_RELEASE 
WITH_OPENSSL=srclib\openssl\release-x64 APR_DECLARE_STATIC=1
+   > nmake -f NMAKEMakefile WITH_APR=srclib\apr\WIN7_X64_LIB_RELEASE 
WITH_OPENSSL=srclib\openssl\release-x64 APR_DECLARE_STATIC=1
  
 
 FIPS


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to