-
Notifications
You must be signed in to change notification settings - Fork 331
/
Copy pathREADME.windows
90 lines (59 loc) · 2.77 KB
/
README.windows
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
README.windows
**************
Introduction
============
This file describes the steps required to build fswatch on Windows. fswatch was
born as a POSIX application and the Windows monitor has been developed trying to
reduce the dependencies on the Windows API at a minimum. To fulfill this goal,
a dependency to Cygwin has been introduced.
Windows has historically provided multiple versions of the same API for single
byte and multibyte character sets. We have decided to only support the
multibyte API: the Windows monitor will thus not build on Windows system
supporting only the single-byte APIs. In this case, the only available monitor
on the Windows OS will be the poll monitor.
Cygwin
======
Cygwin is a required dependency and must be installed to provide the toolchain
and the libraries required by fswatch. The current Cygwin distribution can be
downloaded at:
https://cygwin.com
Cygwin is a modular environment and the following componentes are required to
successfully build fswatch:
* GNU GCC C++ compiler.
* GNU Autoconf.
* GNU Automake.
* GNU Autoconf.
* GNU libtool.
The following are optional:
* GNU gettext (optional)
Windows SDK
===========
The Windows SDK is required to successfully build fswatch since it ships the
headers and the libraries required to build Windows applications. Please,
consult your Windows documentation to get the latest SDK for your platform.
GNU Build System
================
For further instruction on building the GNU Build System from scratch, please
check the README.gnu-build-system file.
Localization and gettext
========================
fswatch is localizable and locale support requires GNU gettext to be available
at build time.
Depending on gettext installation path, configure may not be able to find
<libintl.h> or libintl. In this case, you will need to instruct configure about
their location:
$ CPPFLAGS="-I/path/to/include" LDFLAGS="-L/path/to/lib" ./configure
If configure detects that gettext is available, you will find a message such as:
checking whether to use NLS... yes
or, which is equivalent, config.h will contain the following definition:
#define ENABLE_NLS 1
-----
Copyright (c) 2014-2015 Enrico M. Crisostomo
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see <http://www.gnu.org/licenses/>.