axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Nairn (JIRA)" <>
Subject [jira] Updated: (AXIS2C-1107) Enhance configuration scripts to support building with MinGW
Date Tue, 22 Apr 2008 11:34:27 GMT


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: 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 libtool file). Similarly "-lpthread" was removed from LDFLAGS (for the
same reason). 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). 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'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:
>             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 and
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:
For additional commands, e-mail:

View raw message