问题描述
我想建立一个静态库(* .LIB文件)的窗口与其他库一起使用VISUAL C ++。我使用其他图书馆都建有多线程DLL(/ MD)运行选项。所以,我需要建立与libiconv的同一选项。
I want to build a static library (*.LIB file) GNU libiconv on windows to be used with other libraries in Visual C++. Other libraries I'm using are built with "MultiThreaded DLL" (/MD) Runtime option. So, I need to build libiconv with the same option.
问题是 libiconv的
使用GNU编译系统,我想用/ MD选项编译。你可以看到这里libiconv的的来源结构:<一href=\"http://cvs.savannah.gnu.org/viewvc/libiconv/?root=libiconv\">http://cvs.savannah.gnu.org/viewvc/libiconv/?root=libiconv
Problem is the libiconv
uses GNU build system and I want to compile with /MD option. You can see the source structure of libiconv here: http://cvs.savannah.gnu.org/viewvc/libiconv/?root=libiconv
先生。 Zlatkovic保持的窗口 GNU libiconv的
为libxml2的
Mr. Zlatkovic maintains the windows port of GNU libiconv
for libxml2
您可以在这里看到他们:
you can see them here:
ftp://xmlsoft.org/libxml2/win32/iconv-1.9.2.win32.zip
ftp://xmlsoft.org/libxml2/win32/iconv-1.9.2.win32.zip
我不能用自己的端口。我需要libiconv的1.13最新版本兴建。我不知道这家伙已经将它?可有一个人请告诉我如何从此建立* .LIB和使用MSVC编译它?
I cannot use his port. I need to build from the latest version of libiconv-1.13. I wonder how this guy has ported it? Can some one please tell me how to build *.lib from this and compile it using MSVC?
编辑:
其实,我需要建立具有相同的设置几个GNU库。所以,如果我得到解决的一个库。我为人人,人做同样的。
Actually, I need to build few more gnu libraries with same settings. So, if I get solution for one library. I can do the same for all others.
推荐答案
我是OP。 是我一直在寻找的东西。
I'm the OP. MSYS is the exact thing what I was looking for.
只要安装MinGW的&安培; MSYS其中包含shell sh.exe
&安培; 的make.exe
与您可以后,您可以使用的make.exe来运行它,配置和生成一个的Makefile
。
Just install MinGW & MSYS which contains shell sh.exe
& make.exe
with which you can configure and generate a Makefile
after that you can use make.exe to run it.
它的那样简单。
这篇关于如何建立GNU`libiconv`上和放大器;对于Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!