Chapter 2: Installation

This chapter describes stealth's installation. The following topics will be covered:

2.1: Compiling Stealth using icmake

After downloading the stealth archive, it should be unpacked. The name of the archive is of the form stealth-1.34.tar.gz, where 1.34 is a version number. Below, 1.34 should be altered into the version of the archive that is actually used.

The archive contains a precompiled version of stealth, expecting the following libraries (displayed by the command ldd -v stealth:


        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4001a000)
        libm.so.6 => /lib/libm.so.6 (0x400c3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400e4000)
        libc.so.6 => /lib/libc.so.6 (0x400ec000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

        Version information:
        ./stealth:
                libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libstdc++.so.5 (CXXABI_1.2) => /usr/lib/libstdc++.so.5
                libstdc++.so.5 (GLIBCPP_3.2) => /usr/lib/libstdc++.so.5
        /usr/lib/libstdc++.so.5:
                libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
        /lib/libm.so.6:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libgcc_s.so.1:
                libc.so.6 (GLIBC_2.2.4) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.2) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
    

Instead of using the precompiled version, stealth may be compiled from its sources. The compilation may use either the GNU g++ compiler version 3.0x or the 3.2x version. Other versions haven't been tested as of this writing. At least one of these compilers must have been installed.

This completes the compilation. The program is called stealth, and is found in the same directory as the build script.

2.2: Compiling Stealth using plain

After downloading the stealth archive, it should be unpacked. The name of the archive is of the form stealth-1.34.tar.gz, where 1.34 is a version number. Below, 1.34 should be altered into the version of the archive that is actually used.

The archive contains a precompiled version of stealth, expecting the following libraries (displayed by the command ldd -v stealth:


        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4001a000)
        libm.so.6 => /lib/libm.so.6 (0x400c3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400e4000)
        libc.so.6 => /lib/libc.so.6 (0x400ec000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

        Version information:
        ./stealth:
                libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libstdc++.so.5 (CXXABI_1.2) => /usr/lib/libstdc++.so.5
                libstdc++.so.5 (GLIBCPP_3.2) => /usr/lib/libstdc++.so.5
        /usr/lib/libstdc++.so.5:
                libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
        /lib/libm.so.6:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libgcc_s.so.1:
                libc.so.6 (GLIBC_2.2.4) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.2.3) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.2) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
    

Instead of using the precompiled version, stealth may be compiled from its sources. The compilation may use either the GNU g++ compiler version 3.0x or the 3.2x version. Other versions haven't been tested as of this writing. At least one of these compilers must have been installed.

For the compilation `by hand' a simple script (plain) is provided in the stealth-1.34 directory. This script can be used to compile stealth. The following items can be edited: