How to build gnu `libiconv` on & for windows?

后端 未结 4 2287
南笙
南笙 2020-12-16 21:06

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 \"MultiThreade

4条回答
  •  攒了一身酷
    2020-12-16 21:29

    compile them using MinGW using Msys for the environment if needed. MinGW's .a files are apparently, according to the mailing list, the same format as .lib files (just do a rename). You might want to check first to see if the iconv static library is included already in the MinGW download / filesystem.

    Edit: it's in msys (C:\msys\1.0\lib), along with:

    • libiconv.a
    • libiconv.dll.a
    • libiconv.la

    and additionally

    • libiconv-2.dll (in C:\msys\1.0\local\bin)

    Edit: is it in here, the libiconv you need? these versions seem to have MSVC makefiles :) http://www.opensource.apple.com/source/libiconv/

提交回复
热议问题