mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
Adding some information about building for Windows.
This commit is contained in:
parent
df67ae4fe0
commit
95872ef41c
12
INSTALL
12
INSTALL
@ -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
|
||||
|
||||
14
README.md
14
README.md
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user