mirror of
https://github.com/AdaCore/fswatch.git
synced 2026-02-12 13:09:11 -08:00
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
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-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/>.
|