Re: [xml] cross compiling libxml2 with mingw



On 13.05.2010 21:43, Aaron Patterson wrote:
I'm trying to produce libxml2 DLLs for windows by cross compiling with
mingw.  The build process seems to produce the .a files, but I can't
figure out how to get DLLs to build.  Can anyone point me in the right
direction?

Here is the configure command I used:

  $ CFLAGS='-DIN_LIBXML' ./configure --host=i386-mingw32
--disable-static --with-zlib=/tmp/cross --with-iconv=/tmp/cross
--without-python --without-readline

I can attach the entire build log if that helps.

Thanks!

  
Try adding LDFLAGS="-no-undefined" to configure line, build, and then
review the build log (just a wild guess)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]