objcopy

Copy the contents of one object file to another (GNU)

Syntax:

objcopy_variant [options] infile [outfile]

where objcopy_variant depends on the target platform, as follows:

Target platform objcopy_variant
ARMv7 ntoarmv7-objcopy
x86 ntox86-objcopy

Runs on:

Linux, Microsoft Windows

Description:

The GNU objcopy utility copies the contents of one object file, infile, to another, outfile. The objcopy utility uses the GNU BFD Library to read and write the object files. It can write the destination object file in a format different from that of the source object file. The exact behavior of objcopy is controlled by command-line options.

For more information, see the Binutils documentation on the GNU website at https://www.gnu.org/software/binutils/manual/.

Contributing author:

GNU