On Tue, 2013-01-08 at 10:24 -0500, 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?

I have cross-compiled libxml2 from Debian recently without any issues.
I've used Ruben's personal build and compiled zlib, libffi, libiconv and
libxml2 in this order. I am not sure whether libffi and libiconv is
required by libxml, I needed them for some other stuff.

zlib cannot be configured for cross-compilation (or at least I heven't
managed that), Makefile.gcc should be used instead for direct
compilation. I can attach the whole script for compilation, if it helps.

libffi, libiconv and libxml2 can be easily configured with the
following:

./configure --host=i686-w64-mingw32 \
--build=x86_64-unknown-linux-gnu \
--prefix=/home/pavel/Programs/local32

It works the same for 64bit Windows with -host=x64_86-w64-mingw32

HTH, Pavel



------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to