GNU Binutils

{{short description|GNU software development tools for executable code}}

{{primary sources|date=June 2017}}

{{Infobox software

| name = GNU Binutils

| logo = Heckert GNU white.svg

| screenshot =

| caption =

| developer = GNU Project

| latest release version = {{wikidata|property|preferred|references|edit|Q1144975|P348|P548=Q2804309}}

| latest release date = {{wikidata|qualifier|preferred|single|Q1144975|P348|P548=Q2804309|P577}}

| latest preview version = {{wikidata|property|preferred|references|edit|Q1144975|P348|P548=Q51930650}}

| latest preview date = {{wikidata|qualifier|preferred|single|Q1144975|P348|P548=Q51930650|P577}}

| operating system =

| genre = Programming tools

| license = GNU GPLv3-or-later

| website = {{URL|https://www.gnu.org/software/binutils/}}

}}

The GNU Binary Utilities, or {{mono|binutils}}, is a collection of programming tools maintained by the GNU Project for working with executable code including assembly, linking and many other development operations.

The tools are originally from Cygnus Solutions.

The tools are typically used along with other GNU tools such as GNU Compiler Collection, and the GNU Debugger.

Tools

The tools include:

class="wikitable"
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 files
objcopycopy object files, possibly making changes
objdumpdump information about object files
ranlibgenerate indices for archives (for compatibility; same as {{code|ar -s}})
readelfdisplay contents of ELF files
sizelist section sizes and total size of binary files
stringslist printable strings
stripremove symbols from object files
windmcgenerates Windows message resources
windrescompiler for Windows resource files

elfutils

Ulrich Drepper wrote {{mono|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.[https://sourceware.org/elfutils/ elfutils home][https://www.akkadia.org/drepper/ elfutils at Drepper's home]

See also

{{Portal|Free and open-source software}}

{{div col|colwidth=20em|small=yes}}

  • {{Annotated link|Binary File Descriptor library}}
  • {{Annotated link|GNU Core Utilities}}
  • {{Annotated link|GNU Debugger}}
  • {{Annotated link|ldd (Unix)}}
  • {{Annotated link|List of Unix commands}}
  • {{Annotated link|LLVM}}
  • {{Annotated link|strace}}

{{div col end}}

References

{{Reflist}}