This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Accessing ihex file
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'dimax un'" <dimax dot un at gmail dot com>, <binutils at sourceware dot org>
- Date: Sat, 9 Sep 2006 14:10:24 +0100
- Subject: 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....