This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Unix object file format(*.O)


On Fri, 04 Feb 2000 18:52:47 +0100 (MET), Erik Mouw wrote:
> On Fri, 04 Feb 2000 11:48:03 -0500, alain chicoine wrote:
>> I'm looking for the file format of unix object file (*.O) to be able to
>> turn them in Intel Hex format (*.HEX)
> 
> No need to look, objcopy can generate them directly:
> 
>   objcopy -o ihex foo.o foo.hex

Sorry, the correct flag is "-O", not "-o".

> will do the trick. Objcopy can be found in the GNU binutils.

Duh! I hate to followup my own posts.


Erik

-- 
There was a point to this story, but it has temporarily escaped the
croniclers mind. -- Douglas Adams, The Hitch Hikers Guide to the Galaxy




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