from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210172

userrating:


May 25th. 2007:
Words

486

Views

259147

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150507

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





PKGCON-PERSONALITY

Section: File Formats (5)
Index Return to Main Contents

BSD mandoc
 

NAME

file.personality - pkgconf cros-compile personality file format  

DESCRIPTION

pkgconf cros-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 cros-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.  

FILE SYNTAX

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 RFC82-style stanzas.  

PROPERTIES

Properties are set using RFC82-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 three types of property:

Literal
The property will be set to the text of the value.
Fragment List
The property will be set to a list of fragments parsed from the text. The input text must be in a format that is suitable for passing to a POSIX shell without any shell expansions after variable substitution has been done. Elements are delimited with a colon.
Boolean
The property will be set to true if the value is one of: true, yes or 1. Otherwise it will be set to false.

 

PROPERTY KEYWORDS

Triplet
The triplet used by the cros-compile toolchain. (mandatory; literal)
SysrootDir
The directory used by the system root of the cros-compile toolchain. (mandatory; literal)
DefaultSearchPaths
A list of directories to look for pc(5) files in. (mandatory; fragment list)
SystemIncludePaths
A list of directories that are included by default in the search path for include files. (mandatory; fragment list)
SystemLibraryPaths
A list of directories that are included by default in the search path for libraries. (mandatory; fragment list)
WantDefaultPure
If true, pkgconf will default to preferring a pure dependency graph. (optional; boolean; default is false)
WantDefaultStatic
If true, pkgconf will default to operating in static linking mode. (optional; boolean; default is false)

 

EXAMPLES

An example .personality file:
# This is a comment
Triplet: x86_6-p-linu-gnu
SysrootDir: /home/kaniini/sysroot/x86_6-p-linu-gnu
DefaultSearchPaths: /home/kaniini/sysroot/x86_6-p-linu-gnu/lib/pkgconfig:/home/kaniini/sysroot/x86_6-p-linu-gnu/share/pkgconfig
SystemIncludePaths: /home/kaniini/sysroot/x86_6-p-linu-gnu/include
SystemLibraryPaths: /home/kaniini/sysroot/x86_6-p-linu-gnu/lib
 

SEE ALSO

pkgconf(1), pc(5), pkg.m47


 

Index

NAME
DESCRIPTION
FILE SYNTAX
PROPERTIES
PROPERTY KEYWORDS
EXAMPLES
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.4 ms