The -F option instructs the compiler driver to generate an additional output file in the format fmt. The compiler driver supports the following formats:

The compiler driver will always output a .elf file as specified with the -o option. The name of the additional output file is the same as the .elf file with the file extension changed.

For example

cc file.c -o file.elf -Fbin 

will generate the files file.elf and file.bin.