GNU Binutils

The GNU Binary Utilities, or binutils, are a set of programming tools for creating and managing binary programs, object files, libraries, profile data, and assembly source code.

GNU Binutils
Developer(s)GNU Project
Stable release
2.41[1] Edit this on Wikidata / 30 July 2023
Repository
TypeProgramming tools
LicenseGNU GPL
Websitewww.gnu.org/software/binutils/

Tools

They were originally written by programmers at Cygnus Solutions.

The GNU Binutils are typically used in conjunction with compilers such as the GNU Compiler Collection (gcc), build tools like make, and the GNU Debugger (gdb).

Through the use of the Binary File Descriptor library (libbfd), most tools support the various object file formats supported by libbfd.

Commands

The binutils include the following commands:

asassembler popularly known as GAS (GNU Assembler)
ldlinker
gprofprofiler
addr2lineconvert address to file and line
arcreate, modify, and extract from archives
c++filtdemangling filter for C++ symbols
dlltoolcreation of Windows dynamic-link libraries
goldalternative linker for ELF files
nlmconvobject file conversion to a NetWare Loadable Module
nmlist symbols exported by object file
objcopycopy object files, possibly making changes
objdumpdump information about object files
ranlibgenerate indices for archives (for compatibility; same as ar -s)
readelfdisplay content of ELF files
sizelist total and section sizes
stringslist printable strings
stripremove symbols from an object file
windmcgenerates Windows message resources
windrescompiler for Windows resource files

elfutils

Ulrich Drepper wrote elfutils, to partially replace GNU Binutils, purely for Linux and with support only for ELF and DWARF. It distributes three libraries with it for programmatic access.[2][3]

See also

References

  1. Nick Clifton (30 July 2023). "GNU Binutils 2.41 release". Retrieved 30 July 2023.
  2. elfutils home
  3. elfutils at Drepper's home
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.