## EXAMPLES of how to compiles on Linux and FreeBSD

## On Linux

## compile using gcc 4.8
time CXX=g++-4.8 CC=gcc-4.8 make

## compile using clang 3.6 and stdc++4.8
CXX=clang++-3.6 CC=clang-3.6 CPPFLAGS="-I/usr/include/c++/4.8/ -I/usr/include/x86_64-linux-gnu/c++/4.8" LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/gcc/x86_64-linux-gnu/4.8" make

====

## On FreeBSD

## compile using gcc 4.8
CC=gcc48 CXX=g++48 LIBS="-Wl,-rpath=/usr/local/lib/gcc48 -liconv" CPPFLAGS=-D_GLIBCXX_USE_C99 gmake

## compile using gcc 4.9
CC=gcc49 CXX=g++49 LIBS="-Wl,-rpath=/usr/local/lib/gcc49 -liconv" CPPFLAGS=-D_GLIBCXX_USE_C99 gmake

## compile using clang 3.7
CC=clang37 CXX=clang++37 gmake
