mklibs(1)

mklibs1

Make a minimal set of libraries

Usage

mklibs [OPTION] ... -d DESTINATION FILE ...

Overview

Place the minimal set of libraries required by FILE(s) in DESTINATION.

Options

-d DESTINATION, --dest-dir DESTINATION

Place the libraries in DESTINATION.

-D, --no-default-lib

Omit the default library path.

-L LIBDIR[:LIBDIR]...

Prepend LIBDIR(s) to the library search path.

--ldlib LDLIB

Use LDLIB for the dynamic linker.

--libc-extras-dir EXTRADIR

Use EXTRADIR to find extra libc files.

--target TARGET

Prepend TARGET- to the gcc and binutils calls.

--root ROOT

Search in ROOT- for library rpaths.

--sysroot SYSROOT

Locate libraries and associated files relative to SYSROOT.

--gcc-options OPTIONS

Pass OPTIONS to the compiler when relinking.

--libdir DIR

Use DIR (for example, lib64) in place of lib in default library paths.

-v, --verbose

Explain what is being done.

-h, --help

Display help and exit.

Releases

10 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–5.0
  2. 6.0–13

--gcc-options since Debian 6.0 (Squeeze); --libdir since Debian 6.0 (Squeeze); --root since Debian 6.0 (Squeeze); --sysroot since Debian 6.0 (Squeeze).

Bugs

mklibs does not support the --dry-run and --version options supported by mklibs.sh.

Author

This manual page was written by Matt Kraai.

From mklibs 0.1.45 in Debian 13 (Trixie). Parsed by carta from the page's man source.