gcc object format -> need motorola s-records.

Eric Jacobs eaja at erols.com
Wed Oct 8 16:14:54 PDT 2003


On Wed, 8 Oct 2003 22:52:10 +0100
Josef Karthauser <joe at FreeBSD.org> wrote:

> Does anyone know how to control the type of output files that gcc
> creates?  I need to generate motorola S-records instead of ELF files,
> but I can't find a switch to make this happen.  Do I need to build a new
> compiler by hand, and if so, does anyone know what the backend object
> format is called?

gcc -Wl,--oformat -Wl,srec

should do it.

Eric


More information about the freebsd-hackers mailing list