在Win32中构建最新的iconv和libxml2二进制文件 [英] Building the latest iconv and libxml2 binaries in Win32

查看:163
本文介绍了在Win32中构建最新的iconv和libxml2二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让MinGW和MSYS工作,所以我可以在Windows中构建iconv和libxml2,但我发现./configure和make是给很多BSD / Unix相关的错误,不够具体到谷歌,而且不够描述我足以弄清楚。任何人都可以通过一些需要的步骤来获得iconv和libxml2 .dll / .lib建立在Win32机器上?

I'm trying to get MinGW and MSYS working so I can build iconv and libxml2 in Windows, but I'm finding ./configure and make are giving lots of BSD/Unix related errors that aren't specific enough to google, and not descriptive enough for me to figure out. Can anybody go through some of the steps needed to get iconv and libxml2 .dll/.lib built on a Win32 machine?

我更新一些软件的库,我今天整整一天都在忙乱,没有想出来。我得到了最新的libpng,zlib和curl构建没有问题,但我看到没有太多的支持或如何为这些库像其他人一样。

I'm updating the libraries for some software and I fiddled around with this all day today and haven't figured it out. I got the newest libpng, zlib and curl built with no issues but I see there isn't much support or how-to's for these libraries like there was for the others. Any help would be very appreciated, thanks in advance for your time.

James

推荐答案

我意识到我可能正在复活一个死线程,但...

I realize that I may be reviving a dead thread, but...

对我有用的东西是不编译共享库,他们使用a2dll工具如下:

Something that worked for me was to not compile the shared libs, instead deriving them using the a2dll tool as follows:


./configure --prefix = / mingw --disable-shared
make
make install

./configure --prefix=/mingw --disable-shared make make install

a2dll libiconv.a -o iconv.dll
mv -iv iconv.dll / mingw / bin /

a2dll libiconv.a -o iconv.dll mv -iv iconv.dll /mingw/bin/

这篇关于在Win32中构建最新的iconv和libxml2二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆