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: Accessing ihex file


On 09 September 2006 13:16, dimax un wrote:

> Hello.
> What methods should I use to access intel HEX file? As far as I could
> understand libbfd may do it but I'm not sure. Can you please clear it
> for me?

  Yes, and you can use the 'ihex' target with any of the binutils, e.g.

objcopy -O ihex -j .text foo.o foo.ihex

will extract the .text section from object file foo.o and write it in ihex
format to foo.ihex.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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