Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (42 sloc) 1.94 KB

Build and Install few

few is written in C++ and requires a compiler with a good support of the C++11 standard. It has been tested with gcc 4.9 on Linux, clang 3.4 on FreeBSD and Visual Studio 2013 on Windows.

Build on Unix

The Unix Makefiles are written in the GNU make flavor. On Linux GNU make is the default make program and should be installed by default if you install compilers. On FreeBSD you have to install the gmake program. Generally a simple call of make or gmake should compile the software. With make install you can install the program and its man page into /usr/local/. If you prefer a different location look at the PREFIX variable in the Makefile.

Build using clang++

By default the few program is compiled using your system C++ compiler c++. If you have installed the clang compilers and they are available with clang++ then set the environment variable 'USE_CLANG` to 1 when calling make. Example:

$ USE_CLANG=1 make -j4

Build on a Debian (derived) Linux

You can use make debian-setup to install the pre requisites to build the few program.

Build on a Redhat (derived) Linux

You can use make redhat-setup to install the pre requisites to build the few program.

Build on a Gentoo Linux

You can use make emerge to install the pre requisites to build the few program.

Build on OsX

You have to install the C++ compilers from Apple's Xcode to build the few program. You can use make osx-setup to install the pre requisites.

Build on Windows

You'll find a Visual Studio project and solution file in the source code directory. You can load the solution into Visual Studio and build the few program. On Windows few uses the PDCurses library. The project currently uses the pre-build PDCurses library. If you want to use the build few.exe file, you'll have to copy the pdcurses.dll to a directory included in your PATH.