3.46 --output=destination

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

Syntax

--output=destination

--o destination

Where destination can be either a file or a directory. For example:

--output=foo

is the name of an output file

--output=foo/

is the name of an output directory.

Usage

Usage with --bin or --elf:

  • You can specify a single input file and a single output filename.

  • If you specify many input files and use --elf, you can use --in_place to write the output of processing each file over the top of the input file.

  • 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.

Non-ConfidentialPDF file icon PDF versionARM DUI0477M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.