You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Stipe Tolj <to...@wapme-systems.de> on 2001/10/01 23:33:23 UTC

Re: [PATCH] 1.3: transparent configure and build of shared DLL modules

sorry to be pendantic, but current CVS of apache-1.3 is broken for
Cygwin platform, since Martin missed to commit first hunk of the patch
for src/Configure:

Please commit to CVS.

diff -urN apache-1.3/src/Configure apache-1.3-cygwin/src/Configure
--- apache-1.3/src/Configure	Sun Jul 15 10:04:35 2001
+++ apache-1.3-cygwin/src/Configure	Wed Sep 26 00:56:20 2001
@@ -1388,16 +1388,18 @@
             ;;
 	*-cygwin*)
 	    DEF_SHARED_CORE=yes
-	    LDFLAGS_SHLIB="-g"
+	    LDFLAGS_SHLIB="--export-all"
 	    LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
 	    SHLIB_SUFFIX_NAME=dll
+	    SHMOD_SUFFIX_NAME=dll
 	    SHLIB_SUFFIX_DEPTH=0
-	    DLL_IMPORT_LIB='lib$(TARGET).a'
-	    DLL_IMPORT_DEF='lib$(TARGET).def'
-	    LD_SHLIB='dllwrap --export-all --output-def $(DLL_IMPORT_DEF)
--implib $(DLL_IMPORT_LIB) --driver-name $(CC)'
-	    LD_SHCORE_LIBS='$(LIBS)'
+	    LD_SHLIB='dllwrap'
+	    LD_SHCORE_DEF=''
+	    LD_SHCORE_LIBS="$LIBS"
 	    LIBS_SHLIB='$(EXTRA_LIBS)'
-	    SHARED_CORE_EP=''
+	    SHARED_CORE_EP='lib$(TARGET).ep'
+	    SHCORE_IMPLIB='lib$(TARGET).dll'
+	    OS_MODULE_INCLUDE='Makefile.Cygwin'
 	    ;;
 	*)
 	    ##  ok, no known explict support for shared objects

tolj@wapme-systems.de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info@wapme-systems.de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Re: [PATCH] 1.3: transparent configure and build of shared DLL modules

Posted by Martin Kraemer <Ma...@fujitsu-siemens.com>.
On Mon, Oct 01, 2001 at 11:33:23PM +0200, Stipe Tolj wrote:
> sorry to be pendantic, but current CVS of apache-1.3 is broken for
> Cygwin platform, since Martin missed to commit first hunk of the patch
> for src/Configure:

Yep, and now I can see why:
> |Please commit to CVS.
> |
> |diff -urN apache-1.3/src/Configure apache-1.3-cygwin/src/Configure
> |--- apache-1.3/src/Configure   Sun Jul 15 10:04:35 2001
> |+++ apache-1.3-cygwin/src/Configure    Wed Sep 26 00:56:20 2001
> --------------------------
> Patching file src/Configure using Plan A...
> patch: **** malformed patch at line 75:             ##  ok, no known explict support for shared objects
> Exit 1

Please send patches as text/plain attachment in the future, rather than
inlining them (which on many mail clients breaks the lines!).

   Martin
-- 
<Ma...@Fujitsu-Siemens.com>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany