This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Question about GAS
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joshua dot B dot Southerland-1 at ou dot edu
- Cc: binutils at sourceware dot org
- Date: Thu, 26 Jan 2006 21:38:29 -0500
- Subject: Re: Question about GAS
- References: <ca0cd3bf7adc.43d927b7@ou.edu>
On Thu, Jan 26, 2006 at 07:49:11PM -0600, Joshua.B.Southerland-1@ou.edu wrote:
> Hi,
>
> I have been having minor troubles with gas. I am trying to use the
> as command to compile assembly code for use as a bootloader but I
> cannot figure out how to switch from elf format output to binary
> format (I don't want any file headers added)
Don't. Instead, use gas to generate ELF files, and objcopy -O binary
to remove them.
--
Daniel Jacobowitz
CodeSourcery