encyclopegia.org

Libiberty

GNU libiberty is a software library with a collection of subroutines used by various GNU programs. The library is now a decommissioned GNU package. 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 passing "-liberty" to the compiler. 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. It still contains a minimal set of functions that are either GNU extensions or occasionally unimplemented parts of the standard. Copies of libiberty are distributed with gcc, gdb, and the binutils. libiberty is not otherwise versioned or released separately. One important piece of libiberty functionality is a demangler for C++ and D, included so that it is available to both binutils and GDB. The name is a pun or word play 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 a C compiler command ( cc , gcc , etc.), the command line flag specifying the library is -l followed by the part of the library name after "lib". In libiberty's case it therefore becomes -liberty .

GNU libiberty is a software library with a collection of subroutines used by various GNU programs. The library is now a decommissioned GNU package. 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 passing "-liberty" to the compiler. 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. It still contains a minimal set of functions that are either GNU extensions or occasionally unimplemented parts of the standard. Copies of libiberty are distributed with gcc, gdb, and the binutils. libiberty is not otherwise versioned or released separately. One important piece of libiberty functionality is a demangler for C++ and D, included so that it is available to both binutils and GDB. The name is a pun or word play 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 a C compiler command ( cc , gcc , etc.), the command line flag specifying the library is -l followed by the part of the library name after "lib". In libiberty's case it therefore becomes -liberty . ==See also== Gnulib - the current GNU portability library ==References== ==External links== GNU libiberty

References

No reference rows published for this article.

Cite this article

MLA

"Libiberty." encyclopegia.org, 2026, https://encyclopegia.org/wiki/libiberty. Accessed 24 November 2026.

Chicago

"Libiberty." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/libiberty.

APA

encyclopegia.org. (2026). Libiberty. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/libiberty

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

José Alberto de Oliveira Anchieta

enwiki · references available

Pluricentric language

enwiki · references available

Arab Singaporeans

enwiki · references available

New Democratic Party of Prince Edward Island

enwiki · references available

CeCe Peniston

enwiki · references available

Ladies Invited

enwiki · references available

Floodlight (disambiguation)

enwiki · references available

Luigi Chinetti

enwiki · references available

Diane Bish

enwiki · references available

Cape Breton Eagles

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1336435444 · 0.5 · snapshot enwiki-001336435444

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.