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

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

    Attachment: neethi.mingw.patch

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

There are only configuration changes (no code changes).

Axis2/C still builds, tests and runs fine on linux.

Unfortunately there doesn't seem to any (automatic) self test so I can't say 
whether the output is the same or not.

The configuration changes are as follows:

configure.ac was changed to remove the check for libdl. This library is not 
used directly by neethi but might be used by libaxutil (in which case it will 
be added to the link command from the libaxutil.la libtool file). Similarly 
"-lpthread" was removed from LDFLAGS (for the same reason).
configure.ac was changed to remove the checks for "sys/socket.h" since there 
didn't seem to be any point it being there (nothing in neethi uses it).
configure.ac was changed 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".

And that's it.

There are a few "tidy ups" that could be performed in the Makefile.am's though 
they are not necessary to get neethi to build. In the interests of keeping the 
patch short I've omitted them (I went a bit mad with the last patch - sorry).


> 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: axiom.mingw.patch, guththila.mingw.patch, 
> neethi.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