| |||
| Home > Configuring the Build Settings > Using the ARM fromelf utility > Converting ELF images to other formats | |||
The ARM fromelf utility translates Executable Linkable Format (ELF) image files produced by the ARM linker into other formats suited to ROM tools and to loading directly into memory. See the RealView Compilation Tools Linker and Utilities Guide for more information on using fromelf, including information on output formats. To configure Eclipse to create a plain binary file from an executable ELF image:
Go to the build configuration panel for your project. See Accessing configuration panels.
Click the Build Steps tab in the C/C++ Build panel.
In the Command text box of
the Post-build step, enter fromelf
--bin --output output.bin ,
where inputfile.axfinputfile is the name of the executable
ELF image. See Figure 4.2.
The binary file gets created when you build the
project. The binary file is saved as output.bin in
the sub-directory for the active build configuration, for example Debug.