[ 
https://issues.apache.org/jira/browse/AXIS2C-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Nairn updated AXIS2C-1107:
--------------------------------

    Attachment: guththila.mingw.patch

The attached patch (guththila.mingw.patch) modifies guththila so that it 
compiles fine with MinGW.

There are only two small configuration changes (and no code changes):

Makefile.am was modified to remove some trailing whitespace after a line 
continuation. This change is pretty much cosmetic but it removes a warning when 
running automake.

configure.ac was modified to add the required preprocessor macros 
("AXIS2_DECLARE_EXPORT" etc) and LDFLAGS ("-no-undefined" to build the DLL OK) 
for Windows. They are added if the host_os is "mingw32".

It was also modified to remove the check for dlopen() in the "dl" library is it 
is not needed (dlopen() is not used in the library). Similarly the addition of 
"-lpthread" to LDFLAGS was removed as it is not required (the library does not 
use any thread functions). Finally it was modified to not add "-ggdb3" to 
CFLAGS - if it is required then CFLAGS can be set before running configure.

The changes do not effect a linux build (except for the removal of the 
hard-coded "-ggdb3"). It still compiles and links fine on linux.


> Enhance configuration scripts to support building with MinGW
> ------------------------------------------------------------
>
>                 Key: AXIS2C-1107
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1107
>             Project: Axis2-C
>          Issue Type: New Feature
>          Components: build system (Windows)
>         Environment: Windows XP, MinGW & MSYS
>            Reporter: Steve Nairn
>            Priority: Minor
>         Attachments: guththila.mingw.patch, util.mingw.patch
>
>
> Would there be any interest in some patches to the various configure.ac and 
> Makefile.am files to support building on Windows XP using MinGW?
> Our product uses Libxml2, libcurl, OpenSSL and Apache httpd (among others) 
> and on Windows these are all built with MinGW and MSYS. In order to get 
> Axis2/C to play well with the other libraries (DLLs) I've had to modify the 
> autoconf/automake to support building with MinGW (as well as some minor code 
> changes).
> If I posted the changes in a patch as an attachment to this issue would it be 
> of any interest/use to anyone?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to