internals:windows:libs:libiconv
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
internals:windows:libs:libiconv [2008/04/30 13:50] – created auroraeosrose | internals:windows:libs:libiconv [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
libiconv is a character set conversion library from [[http:// | libiconv is a character set conversion library from [[http:// | ||
- | PHP currently uses 1.12 released | + | PHP currently uses 1.14 released |
libiconv development has been moved to [[https:// | libiconv development has been moved to [[https:// | ||
+ | |||
+ | For PHP suitable sources and up-to-date information see [[https:// | ||
Because iconv.exe is GPL licensed, the author has decided to drop support for building on msvc altogether, because building on newer compilers that require separate distributions of MS runtimes might cause gpl violations (you can simply point people to the runtime installers provided by microsoft and not include them with the program...but that's another story). | Because iconv.exe is GPL licensed, the author has decided to drop support for building on msvc altogether, because building on newer compilers that require separate distributions of MS runtimes might cause gpl violations (you can simply point people to the runtime installers provided by microsoft and not include them with the program...but that's another story). | ||
If someone has the time or energy the patch should probably be sent upstream to the bugs list. | If someone has the time or energy the patch should probably be sent upstream to the bugs list. | ||
+ | |||
+ | ====== Building for PHP ====== | ||
+ | |||
+ | The solution has static and dll projects. Both of them have to be built in debug and release mode. The binaries have to be put into the deps tree with the following structure: | ||
+ | |||
+ | lib: | ||
+ | libiconv_debug.lib | ||
+ | libiconv_a_debug.lib | ||
+ | libiconv_a.lib | ||
+ | libiconv.lib | ||
+ | |||
+ | include: | ||
+ | iconv.h | ||
+ | |||
+ | bin: | ||
+ | libiconv_debug.pdb | ||
+ | libiconv_debug.dll | ||
+ | libiconv.pdb | ||
+ | libiconv.dll | ||
+ | | ||
+ | After this the iconv PHP extension can be built static or shared. |
internals/windows/libs/libiconv.1209563457.txt.gz · Last modified: 2017/09/22 13:28 (external edit)