File: readme

package info (click to toggle)
sockperf 3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,912 kB
  • sloc: cpp: 8,092; perl: 7,225; sh: 3,254; makefile: 114; awk: 93
file content (63 lines) | stat: -rw-r--r-- 1,660 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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


* To build for FreeBSD

Make sure automake tools are installed.

Good luck!