Libiberty

Libiberty

GNU libiberty is a library with a collection of subroutines used by various GNU programs.

It was originally intended to be a sort of standard cross-platform library, thus enabling it to be linked (using the usual Unix library form) by just saying "-liberty". The contents consisted of a variety of useful functions. However, the development of standards for C and POSIX took away some of the impetus for this, and libiberty came to be used primarily as a support library for the GNU toolchain.

Copies of libiberty are distributed with gcc, gdb, and the binutils.

One important piece of libiberty functionality is a demangler for C++, included so that it is available to both binutils and GDB.

The name is a pun or wordplay on the word "liberty". On Unix-like operating systems, library files are always named "lib" + "the name of the library." But when they are linked to with gcc, one uses the -l on the command line followed by the part of the library name after "lib". In libiberty's case it therefore becomes -liberty.

See also

*Gnulib

External links

* http://gcc.gnu.org/onlinedocs/libiberty/


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Printf — The class of printf functions (which stands for print formatted ) is a class of functions, typically associated with curly bracket programming languages, that accept a string parameter (called the format string) which specifies a method for… …   Wikipedia

  • Macintosh Programmer's Workshop — Infobox Software name = Macintosh Programmer s Workshop caption = MPW version 3.5 developer = Apple Computer latest release version = 3.6d7 latest release date = latest preview version = latest preview date = operating system = Mac OS platform =… …   Wikipedia

  • Gnulib — Infobox Software name = Gnulib developer = GNU Project latest release version = latest release date = operating system = GNU genre = GNU portability library license = GNU General Public License website = http://www.gnu.org/software/gnulib/Gnulib …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”