Brian -

Thank you for your response.

On Tue, Jan 8, 2013 at 11:14 AM, Prof Brian Ripley
<[email protected]> wrote:
> On 08/01/2013 15:24, K. Frank wrote:
>> ...
>> Great.  If I end up needing libxml2, I'll plan to build it myself.
>>
>> Do you happen to know if I should expect the build to be
>> totally straightforward (with mingw-w64)?  Any gotcha's or
>> dependencies I should be expecting?
>
> It's 'totally straightforward'.  Well, at least if you cross-compile it from
> a platform with a full set of tools (I use x86_64 Linux).
>
> You could pick up a pre-built version from
> http://www.stats.ox.ac.uk/pub/Rtools/R215x.html (note the packaging uses
> lib/i386 and lib/x64).

First let me ask about the pre-built version:

Unzipping local215.zip, I see a file, libxml2.a, in the lib\x64 directory.
Is this a static library, i.e., a non-dll archive?  Is this the thing I get
when I run the ar.exe (distributed, for example, with Ruben's build)?

The web page you linked to says that the tools are based on mingw-w64,
gcc 4.6.3.  Would you or others have any expectation as to whether they
(in particular libxml2) would be abi-compatible with the std::thread-enabled
4.7.0 build of Ruben's that I am using?

Both you and Pavel have talked about cross-compiling libxml2.  For
better or for worse, I am not currently set up to do that. Would it be
realistic to expect to be able to compile libxml2 natively, i.e., fire up
the above-mentioned Ruben's native mingw-w64 build to build it?

If the various autotools are the only sane way of building libxml2,
what role might msys play?  I'm a little fuzzy on msys, never having
used it.  Would building libxml2 under msys count as a native build?
Could I continue using Ruben's build of gcc?  Or would using msys
put me into cross-compilation land and/or produce an msys version
of libxml2 that won't work on "plain" windows?

Lastly, if msys is an option, has anyone actually built libxml2 under
msys using mingw-w64?

(I will follow up on Pavel's comments about msxml by starting a
new msxml thread, and try to keep this thread focused on
libxml2.)

> --
> Brian D. Ripley,                  [email protected]
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/


I appreciate your suggestions and your help.


K. Frank

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to