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:
userspace-rcu-0.14.0.tar.bz2  
lttng-tools-2.13.9.tar.bz2    
babeltrace-2.0.5.tar.bz2      
linux_patches.zip   (found at ~/moshell/commonjars/src/lttng/linux_patches.zip)
    3. Run the following instructions:
rm -rf /tmp/lttng
mkdir /tmp/lttng
unzip -j ~/linux_patches.zip -d /tmp/lttng/patches
cp /tmp/userspace-rcu-0.14.0.tar.bz2 /tmp/lttng
cp /tmp/lttng-tools-2.13.9.tar.bz2 /tmp/lttng
cp /tmp/babeltrace-2.0.5.tar.bz2 /tmp/lttng

cd /tmp/lttng
set -e

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

tar -xf lttng-tools-2.13.9.tar.bz2
cd lttng-tools-2.13.9/
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.0/include" URCU_LIBS="-L$PWD/../userspace-rcu-0.14.0/src/.libs -lurcu-common -lurcu" URCU_BP_CFLAGS="-I$PWD/../userspace-rcu-0.14.0/include" URCU_BP_LIBS="-L$PWD/../userspace-rcu-0.14.0/src/.libs -lurcu-common -lurcu-bp" URCU_CDS_CFLAGS="-I$PWD/../userspace-rcu-0.14.0/include" URCU_CDS_LIBS="-L$PWD/../userspace-rcu-0.14.0/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.5.tar.bz2
cd babeltrace2-2.0.5
./configure --enable-built-in-plugins --disable-shared --disable-debug-info && make
cd ..

    4. strip the binaries as needed.
