This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unix object file format(*.O)
- To: achic at videotron dot ca
- Subject: Re: Unix object file format(*.O)
- From: Erik Mouw <J dot A dot K dot Mouw at its dot tudelft dot nl>
- Date: Fri, 4 Feb 2000 18:56:02 +0100 (MET)
- Cc: gcc at gcc dot gnu dot org
- Organization: Eric conspiracy secret labs
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