NAME
statifier - Elf dynamically linked executables
statifier
SYNOPSIS
statifier [OPTION]... <exe_file>
<statified_exe>
DESCRIPTION
Statifier make from elf dynamically linked
executable and all it's required libraries one stand-alone
executable. This executable can be copied to another machine
without any of these shared libraries and run.
OPTIONS
- -h, --help
- display this help and exit
- -k, --keep-working-directory
- Do not remove working directory. Also change it from
$TMPDIR/statifier.tmpdir.$$ to ./.statifier
- -s, --set=VAR=VALUE
- Set environment variable VAR to value VALUE.
Multiple 'set' options accepted.
- -u, --unset=VAR
- Unset environment variable VAR. Multiple 'unset' options
accepted.
- -v, --verbose
- verbose output
- -V, --version
- output version and exit
FILES
- $TMPDIR/statifier.tmpdir.$$
- Directory which contains all temporary files
ENVIRONMENT VARIABLES
- TMPDIR
- Directory for temporary files. If not set /tmp/
used.
EXAMPLES
- statifier /bin/df df.static
- Pretty trivial. Convert /bin/df to df.static
- statifier --set=LD_BIND_NOW=yes /bin/df df.static
- Something more interesting. Dynamic linker will resolve all
symbols. So statifing will take longer, but resulting exe will have
faster startup.
- statifier --set=LD_PRELOAD=/some/library/to/by/preloaded
/bin/df df.static
- Will "link" /bin/df with preloaded library.
NOTE
Environment variables are described in the run-time
loader's man page.
LIMITATIONS
Currently it work only on Linux x86, x86_64 and
Alpha
SEE ALSO
(8).
AUTHORS
Valery Reznic <valery_reznic@users.sourceforge.net>