Skip to content

dermoth/sockperf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the distribution of sockperf

* What is sockperf
      
* Licensing

* What you will need to compile aLic on Unix systems

   perl 5.8+ (used by the automake tools)

   GNU make tools: automake 1.7+, autoconf 2.57+, m4 1.4+ and libtool 1.4+

   A Compiler, among those tested are:
   . gcc4 (Ubuntu 9)

* How to install:


  The sockperf package uses the GNU autotools compilation and installation
  framework.
   
    $ ./configure
    $ make
    $ make install

  To enable test scripts
    $ ./configure --prefix=<path to install> --enable-test
   
  To enable the documentation
    $ ./configure --prefix=<path to install> --enable-doc
   
  To enable the special scripts
    $ ./configure --prefix=<path to install> --enable-tool
   
  To compile with debug symbols and information: 
    $ ./configure --prefix=<path to install> --enable-debug

   This will define the _DEBUG variable at compile time.

   Type './configure --help' for a list of all the configure
   options. Some of the options are generic autoconf options, while the aLic
   specific options are prefixed with "SOCKPERF:" in the help text.


* To build for ARM

1) Define CROSS_COMPILE in the environment to point to the cross compilation tools, e.g.
set CROSS_COMPILE=/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux/bin/arm-linux-gnueabihf-

2) Use ./autogen.sh to create the configure script.

3) Invoke ./configure with the following options:
$ ./configure CXX=${CROSS_COMPILE}g++ STRIP=${CROSS_COMPILE}strip
LD=${CROSS_COMPILE}ld CC=${CROSS_COMPILE}gcc --host i386

4) Invoke make


Good luck!