Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 19:13:28 -0400
From:      Eric Jacobs <eaja@erols.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: gcc object format -> need motorola s-records.
Message-ID:  <20031008191328.0f342714.eaja@erols.com>
In-Reply-To: <20031008215210.GA50402@genius.tao.org.uk>
References:  <20031008215210.GA50402@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Oct 2003 22:52:10 +0100
Josef Karthauser <joe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008191328.0f342714.eaja>