diff options
author | Jehan <jehan@girinstud.io> | 2017-12-26 03:37:42 +0100 |
---|---|---|
committer | Jehan <jehan@girinstud.io> | 2017-12-26 03:37:42 +0100 |
commit | 95872ef41c2510fc00c4dcb1ead9ba9464327709 (patch) | |
tree | ff0a5edfd76ca173a561d62d016c5f0d8345f55b | |
parent | df67ae4fe0db0f3da3698e2002cb90e52eb65a4d (diff) |
Adding some information about building for Windows.
-rw-r--r-- | INSTALL | 12 | ||||
-rw-r--r-- | README.md | 14 |
2 files changed, 25 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# INSTALL uchardet +# Building uchardet (generic) `uchardet` uses a typical cmake installation. @@ -14,3 +14,13 @@ Alternatively, use `ccmake`, curses interface to `cmake`. * Install with `make install`. Read `README` for more details on uchardet. + +# Building uchardet on Windows + +The above procedure is generic, which means it should work on any platform. +In particular, it works well on Linux. + +The procedure is the same on Windows, but if you want more details (for +instance which tools to use in order to run CMake on Windows, compiler +information, etc.), the following link may be useful: +https://github.com/BYVoid/uchardet/issues/39#issuecomment-353873891 @@ -182,6 +182,20 @@ Techniques used by universalchardet are described at http://www.mozilla.org/proj brew install uchardet +### Windows + +Binary packages are provided in Fedora repository. There may exist other +pre-built packages but I am not aware of them. +Nevertheless the library is very easily and quickly compilable under +Windows as well, so finding a binary package is not necessary. +Some did it successfully with the [CMake Windows +installer](https://cmake.org/download/) and MinGW. It should be possible +to use MinGW-w64 instead of MinGW, in particular to build both 32 and +64-bit DLL libraries). + +Note also that it is very easily cross-buildable (for instance from a +GNU/Linux machine). + ### Build from source Releases are available from: |