From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 8 17:54:08 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D72316A4BF; Wed, 8 Oct 2003 17:54:08 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C19DB43FD7; Wed, 8 Oct 2003 17:54:06 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h990s5gG008033; Wed, 8 Oct 2003 20:54:05 -0400 (EDT) Date: Wed, 8 Oct 2003 20:54:05 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Eric Jacobs In-Reply-To: <20031008191328.0f342714.eaja@erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: gcc object format -> need motorola s-records. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 00:54:08 -0000 On Wed, 8 Oct 2003, Eric Jacobs wrote: > On Wed, 8 Oct 2003 22:52:10 +0100 > Josef Karthauser 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 I can't get that to work for me, but: objcopy -O srec works. -- Dan Eischen