From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 8 16:14:54 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 5EE0816A4B3 for ; Wed, 8 Oct 2003 16:14:54 -0700 (PDT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92CD643FDF for ; Wed, 8 Oct 2003 16:14:53 -0700 (PDT) (envelope-from eaja@erols.com) X-Info: This message was accepted for relay by smtp03.mrf.mail.rcn.net as the sender used SMTP authentication X-Trace: UmFuZG9tSVYecrdlpLWlMQolpkJHDRU1Vc+TBae0wM5L6e85uWfSzyig7MJC9XpP Received: from 165.sub-166-141-30.myvzw.com ([166.141.30.165] helo=localhost) by smtp03.mrf.mail.rcn.net with asmtp (Exim 3.35 #4) id 1A7NW6-0006EN-00 for freebsd-hackers@freebsd.org; Wed, 08 Oct 2003 19:14:51 -0400 Date: Wed, 8 Oct 2003 19:13:28 -0400 From: Eric Jacobs To: freebsd-hackers@freebsd.org Message-Id: <20031008191328.0f342714.eaja@erols.com> In-Reply-To: <20031008215210.GA50402@genius.tao.org.uk> References: <20031008215210.GA50402@genius.tao.org.uk> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: gcc object format -> need motorola s-records. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2003 23:14:54 -0000 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 should do it. Eric