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


objcopy_variant [options] infile [outfile]

Runs on:

QNX Neutrino, Linux, Microsoft Windows


The objcopy_variant depends on the target platform, as follows:

Target platform: objcopy_variant:
ARM ntoarm-objcopy
MIPS ntomips-objcopy
PowerPC ntoppc-objcopy
SH4 ntosh-objcopy
x86 ntox86-objcopy


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 detailed documentation, see the GNU website at http://www.gnu.org/.

Contributing author:


See also:

mcs, objdump