Keil Logo


3.38 --output=destination

Specifies the name of the output file, or the name of the output directory if multiple output files are created.


--o destination
Where destination can be either a file or a directory. For example:
is the name of an output file
is the name of an output directory.


Usage with --bin:
  • You can specify a single input file and a single output filename.
  • If you specify many input filenames and specify an output directory, then the output from processing each file is written into the output directory. Each output filename is derived from the corresponding input file. Therefore, specifying an output directory in this way is the only method of converting many ELF files to a binary or hexadecimal format in a single run of fromelf.
  • If you specify an archive file as the input, then the output file is also an archive. For example, the following command creates an archive file called output.o:
    fromelf archive.a(s*.o) --output=output.o
  • If you specify a pattern in parentheses to select a subset of objects from an archive, fromelf only converts the subset. All the other objects are passed through to the output archive unchanged.
Related reference
Non-ConfidentialPDF file icon PDF versionARM DUI0459G
Copyright © 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.