This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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: Is it possible to convert *.out file to *.srec file?


On Fri, 2002-10-25 at 07:05, Qiang Huang wrote:
> like in the example:
> 
> gcc -g -IBASE_DIR/ecos-work/install/include hello.c -LBASE_DIR/
> ecos-work/install/lib -Ttarget.ld -nostdlib
> 
> which format will be the output?( I got a.out file here. is this ELF
> format?)
> 

Most likely.  Again, check your documentation for the details, but
you can use the "file" command like this, just to verify:
  [gthomas@hermes ecos]$ file test/timer
  test/timer: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), 
  statically linked, not stripped

> Thanks a lot.
> 
> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: 25 October 2002 13:58
> To: Qiang Huang
> Cc: Ecos-Discuss
> Subject: Re: [ECOS] Is it possible to convert *.out file to *.srec file?
> 
> 
> Qiang Huang wrote:
> > how can I find out which target is support in my platform?
> 
> I'm not sure exactly
> what you mean, but we always generate ELF and go
> *from* there to other formats like binary, srec, etc.
> 
> As for what your platform requires, that's your problem - look at your own
> board documentation!
> 
>  > what is *.out
> > file format stand for?
> 
> out means it's the output. Nothing more.
> 
> Jifl
> --
> eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
> --[ "You can complain because roses have thorns, or you ]--
> --[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine
> 
> 
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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