forked from emcrisostomo/fswatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.linux
63 lines (44 loc) · 1.98 KB
/
README.linux
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
README.linux
************
Introduction
============
This file describes the steps required to build fswatch on a supported GNU/Linux
system.
The supported monitors on GNU/Linux systems are:
* The inotify monitor (on Linux kernels > 2.6.13).
* The poll monitor.
The availability of the inotify API is checked by configure and it will be built
into fswatch when found. When available, the inotify monitor is the default
choice on GNU/Linux systems.
The list of monitors built into libfswatch can be read in the help message of
fswatch:
$ fswatch --help
Installation
============
See the INSTALL file for detailed information about how to configure and
install fswatch.
fswatch is a C++ program and a C++ compiler compliant with the C++11 standard
is required to compile it. Reasonably recent GNU/Linux distributions usually
ship at least two such compilers:
* GCC.
* Clang.
Please, check your distribution documentation to find an appropriate C++
compiler and how to install it.
The configure script enforces an ordered compiler search list and clang++ will
be used first if available. If you do not like this choice and wish to use
another compiler set the value of the CXX environment variable to the name of
your compiler binary. If, for example, you wish to use the g++ compiler, then
use this command to configure the build:
$ ./configure CXX=g++
-----
Copyright (C) 2014, 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/>.