Question about GAS

Daniel Jacobowitz drow@false.org
Fri Jan 27 02:38:00 GMT 2006


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



More information about the Binutils mailing list