Debian Codegraph @

INSTALL

raw
1 INSTALLATION INSTRUCTIONS
2
3 To build and install the libfec libraries, simply say
4
5 ./configure
6 make
7 make test (optional)
8 make install (as root)
9
10 By default, "make install" puts the libfec libraries in
11 /usr/local/lib, the include files in /usr/local/include, and the
12 manual page in /usr/local/man.
13
14 You may have an old version of the GNU assembler that cannot handle
15 the relatively new SSE2 mnemonics. Update your version of the GNU
16 "binutils" package.
17
18 You may obtain the latest binutils package through your normal
19 distribution channels or from:
20
21 http://sources.redhat.com/binutils/
22
23 TESTING THE FEC LIBRARY
24
25 After running the ./configure script, optional tests can be built and
26 run as follows:
27
28 make test
29
30 "make test" tests each routine, using the SIMD versions as
31 appropriate, verifying correct operation and estimating Viterbi
32 decoding speeds. These tests should always succeed unless something is
33 broken.
34
35 28 Mar 2004
36 Phil Karn, [email protected]
37
38 -----------------------------
39 ADDENDUM
40
41 The original libfec did not know about x86-64. This caused builds to break on that CPU family.
42
43 This version contains a (lightly modified) working build. It does not contain optimized assembly instructions for x86-64, however.
44
45 Also, when building under x86-64, it is necessary to tell libfec about your host. This can easily be accomplished by passing the --build flag to ./configure. For example, if the standard ./configure contained here thinks that my host is i386-apple-darwin15.0.0, then I will call `./configure --build=x86_64-apple-darwin15.0.0`.