X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=README;fp=README;h=a594703833e1ef769afd272404efecfac5ce20ed;hp=a111e84a3d58c84df858b9dcf02fdfffdf6d8975;hb=df135922b19890047ebf725e6b82cd1c174c6d52;hpb=553925e1da5c936de4df809f0b4b80f527a7caf1 diff --git a/README b/README index a111e84a..a5947038 100644 --- a/README +++ b/README @@ -1044,6 +1044,37 @@ To generate the `configure` script, you'll need the following dependencies: The `build.sh' script takes no arguments. +Building on Windows +----------------------------------------------- + +Collectd can be built on Windows using Cygwin, and the result is a binary that +runs natively on Windows. That is, Cygwin is only needed for building, not running, +collectd. + +You will need to install the following Cygwin packages: +- automake +- bison +- flex +- git +- libtool +- make +- mingw64-x86_64-dlfcn +- mingw64-x86_64-gcc-core +- mingw64-x86_64-zlib +- pkg-config + +To build, just run the `build.sh' script in your Cygwin terminal. By default, it installs +to "C:/Program Files/collectd". You can change the location by setting the INSTALL_DIR +variable: + +$ export INSTALL_DIR="C:/some/other/install/directory" +$ ./build.sh + +or: + +$ INSTALL_DIR="C:/some/other/install/directory" ./build.sh + + Crosscompiling --------------