This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about GAS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]