PKGCONF-PERSONALITY(5) | File Formats Manual | PKGCONF-PERSONALITY(5) |
file.personality
—
pkgconf cross-compile personality file format
pkgconf cross-compile personality files provide a useful mechanism
for storing various information about system toolchains. Information stored
by .personality
files include information about
paths used by a cross-compile toolchain, such as the sysroot directory and
default include and library paths. pkgconf uses this information to
determine what information is necessary to use libraries.
The .personality
file follows a format
inspired by RFC822. Comments are prefixed by a pound sign, hash sign or
octothorpe (#), and variable assignment is similar to POSIX shell.
Properties are defined using RFC822-style stanzas.
Properties are set using RFC822-style stanzas which consist of a keyword, followed by a colon (:) and then the value the property should be set to. Variable substitution is always performed regardless of property type.
There are two types of property:
An example .personality file:
# This is a comment Triplet: x86_64-pc-linux-gnu SysrootDir: /home/kaniini/sysroot/x86_64-pc-linux-gnu DefaultSearchPaths: /home/kaniini/sysroot/x86_64-pc-linux-gnu/lib/pkgconfig:/home/kaniini/sysroot/x86_64-pc-linux-gnu/share/pkgconfig SystemIncludePaths: /home/kaniini/sysroot/x86_64-pc-linux-gnu/include SystemLibraryPaths: /home/kaniini/sysroot/x86_64-pc-linux-gnu/lib
July 19, 2018 | Debian |