icmake
program
plain
script
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.
/tmp
, and
the archive itself is stored in /tmp
as well, do:
cd /tmp tar xzf stealth-1.34.tar.gzThis creates a subdirectory
stealth-1.34
in which the sources are
stored.
chdir
to that directory:
chdir stealth-1.34
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.
build
script, and modify the following
DEFINE
s according to the local situation:
//#define COMPILER "g++-3.0" //#define HASHNAMESPACE "std" #define COMPILER "g++-3.2" #define HASHNAMESPACE "__gnu_cxx"Alternatively, the version
3.0
can be used by modifying the comments:
#define COMPILER "g++-3.0" #define HASHNAMESPACE "std" //#define COMPILER "g++-3.2" //#define HASHNAMESPACE "__gnu_cxx"
DEBUG
:
// COPT: the set of C-options #define COPT "-mcpu=i486 -Wall"If
DEBUG
is requested (producing lots of output when stealth
is started using the -d
command-line flag), then add the -DDEBUG
flag
here:
// COPT: the set of C-options #define COPT "-mcpu=i486 -Wall -DDEBUG"
build
. build
is an icmake
script which performs
the compilation. There should be no warnings.
./build
build
script.
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.
/tmp
, and
the archive itself is stored in /tmp
as well, do:
cd /tmp tar xzf stealth-1.34.tar.gzThis creates a subdirectory
stealth-1.34
in which the sources are
stored.
chdir
to that directory:
chdir stealth-1.34
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:
#FLAG="" FLAG=-DDEBUG
g++-3.2
compiler
or the g++ 3.0
compiler. Take your pick. The script comes preselected for
the the g++-3.2
compiler. The following selection (made in the script)
will use the g++-3.0
compiler:
# select one set of the following two defines: COMPILER=g++-3.0 HASHNAMESPACE=std # COMPILER=g++-3.2 # HASHNAMESPACE=__gnu_cxx
./plainThis creates the program stealth in the same directory as the
plain
script.