| |||
| Home > fromelf command reference > --output=destination | |||
This option specifies the name of the output file, or the name of the output directory if multiple output files are created.
--output=destination
Where can
be either a file or a directory. For example:destination
--output=foois the name of an output file
--output=foo/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.
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.