Linux: Compile on a workstation with old libc 2.11.3 , for instance seliiuts02930.seli.gic.ericsson.se.
    1. Save the following archives in your home directory (see list in the script lttng-build-script.sh)    
    2. Execute the build script with "bash -v lttng-build-script.sh <32|64>" (choose either 32 or 64). 
    3. strip the binaries as needed

Cygwin64 (Only lttng-relayd & babeltrace):  
    1. Add the following dependencies/libraries to your Cygwin64 installation:
gcc-core
patch
make
zlib
zlib-devel
libpopt-devel
libxml2-devel
libiconv-devel
libglib2.0_0
libglib2.0-devel
libuuid-devel
gcc-g++
autoconf
automake
bison
libiconv
flex
    2. Save the following archives to /tmp/$USER:
userspace-rcu-0.14.1.tar.bz2  
lttng-tools-2.13.14.tar.bz2    
babeltrace-2.0.6.tar.bz2      
    3. Run the following instructions:
rm -rf /tmp/$USER/lttng
mkdir /tmp/$USER/lttng
cp /tmp/$USER/userspace-rcu-0.14.1.tar.bz2 /tmp/$USER/lttng
cp /tmp/$USER/lttng-tools-2.13.14.tar.bz2 /tmp/$USER/lttng
cp /tmp/$USER/babeltrace-2.0.6.tar.bz2 /tmp/$USER/lttng

cd /tmp/$USER/lttng
set -e

tar -xf userspace-rcu-0.14.1.tar.bz2
cd userspace-rcu-0.14.1/
env CFLAGS=" -g -O2 -fPIC" ./configure && make
cd ..

tar -xf lttng-tools-2.13.14.tar.bz2
cd lttng-tools-2.13.14/
#cp ../patches/0001-Fix-compat-LTTNG_UST_ABI_PROCNAME_LEN-is-undeclared.patch .
#patch -p1 -i 0001-Fix-compat-LTTNG_UST_ABI_PROCNAME_LEN-is-undeclared.patch
env URCU_CFLAGS="-I$PWD/../userspace-rcu-0.14.1/include" URCU_LIBS="-L$PWD/../userspace-rcu-0.14.1/src/.libs -lurcu-common -lurcu" URCU_BP_CFLAGS="-I$PWD/../userspace-rcu-0.14.1/include" URCU_BP_LIBS="-L$PWD/../userspace-rcu-0.14.1/src/.libs -lurcu-common -lurcu-bp" URCU_CDS_CFLAGS="-I$PWD/../userspace-rcu-0.14.1/include" URCU_CDS_LIBS="-L$PWD/../userspace-rcu-0.14.1/src/.libs -lurcu-common -lurcu-cds" CFLAGS=" -g -O2 -D_GNU_SOURCE -fPIC" LDFLAGS=" -lrt -static" ./configure --disable-bin-lttng --disable-bin-lttng-consumerd --disable-bin-lttng-crash --disable-bin-lttng-sessiond --disable-man-pages --without-lttng-ust --enable-shared && make
cd ..

tar -xf babeltrace2-2.0.6.tar.bz2
cd babeltrace2-2.0.6
./configure --enable-built-in-plugins --disable-shared --disable-debug-info && make
cd ..

    4. strip the binaries as needed.
