Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Jeff Trawick
On Sat, Apr 2, 2011 at 9:50 AM, traw...@apache.org wrote: Author: trawick Date: Sat Apr  2 13:50:07 2011 New Revision: 1088023 URL: http://svn.apache.org/viewvc?rev=1088023view=rev Log: MinGW/MSYS:  Support shared builds of APR, other general improvements to support of this toolchain.

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Guenter Knauf
Hi Jeff, Am 02.04.2011 15:50, schrieb traw...@apache.org: +dnl If building static APR, both the APR build and the app build +dnl need -DAPR_DECLARE_STATIC to generate the right linkage from +dnl APR_DECLARE et al. +dnl If building dynamic APR, the APR build needs APR_DECLARE_EXPORT +dnl and the

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Guenter Knauf
Am 02.04.2011 16:39, schrieb Jeff Trawick: If you want both static and dynamic: * two builds in two passes of APR * further hacks to allow the two builds to be co-resident in the install location, since apr-2-config needs to know whether or not to spit out APR_DECLARE_STATIC in CPPFLAGS (and

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Guenter Knauf
Am 02.04.2011 16:59, schrieb Guenter Knauf: no, something which is kinda /me giving up on teaching configure to do it right . http://people.apache.org/~fuankg/mingw/MWGNUmakefile http://people.apache.org/~fuankg/mingw/MWGNUmakefile.inc with that makefile you have both static and dynamic

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Jeff Trawick
On Sat, Apr 2, 2011 at 11:17 AM, Guenter Knauf fua...@apache.org wrote: Am 02.04.2011 16:59, schrieb Guenter Knauf: no, something which is kinda /me giving up on teaching configure to do it right . http://people.apache.org/~fuankg/mingw/MWGNUmakefile

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread William A. Rowe Jr.
On 4/2/2011 10:27 AM, Guenter Knauf wrote: *if* we want to do it 'right' in one pass then I believe we would need to build with APR_DECLARE_STATIC and then get the DDL linked with a .def file (which is close to what is done on Linux with the export*.c hacks); I would volunteer to modify

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Guenter Knauf
Am 02.04.2011 20:29, schrieb William A. Rowe Jr.: On 4/2/2011 10:27 AM, Guenter Knauf wrote: *if* we want to do it 'right' in one pass then I believe we would need to build with APR_DECLARE_STATIC and then get the DDL linked with a .def file (which is close to what is done on Linux with the

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread William A. Rowe Jr.
On 4/2/2011 4:35 PM, Guenter Knauf wrote: Am 02.04.2011 20:29, schrieb William A. Rowe Jr.: On 4/2/2011 10:27 AM, Guenter Knauf wrote: *if* we want to do it 'right' in one pass then I believe we would need to build with APR_DECLARE_STATIC and then get the DDL linked with a .def file (which

Re: svn commit: r1088023 - in /apr/apr/trunk: CHANGES build/apr_rules.mk.in configure.in include/apr.h.in test/Makefile.in

2011-04-02 Thread Guenter Knauf
Am 02.04.2011 23:54, schrieb William A. Rowe Jr.: When the compiler has the insight that it is binding against relocatable, loadable sections, it has a chance to change all references to a vtable in mutable heap, and leave the actual binary images alone. Failure to do this for data pointers is