public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] linking object and library files build from configtool into single file
@ 2001-03-27  2:11 Ho Shui Choy Stanley PS03B NCS
  2001-03-27  4:50 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Ho Shui Choy Stanley PS03B NCS @ 2001-03-27  2:11 UTC (permalink / raw)
  To: Ecos-Discuss (E-mail)

How do I link the object(vectors.o and extras.o) and library(libtarget.a and
libextras.a) files built with the ecos configtool to a single file in other
format (eg. srecord).

Thanks
Stanley

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] linking object and library files build from configtool into single file
  2001-03-27  2:11 [ECOS] linking object and library files build from configtool into single file Ho Shui Choy Stanley PS03B NCS
@ 2001-03-27  4:50 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-03-27  4:50 UTC (permalink / raw)
  To: Ho Shui Choy Stanley PS03B NCS; +Cc: Ecos-Discuss (E-mail)

Ho Shui Choy Stanley PS03B NCS wrote:
> 
> How do I link the object(vectors.o and extras.o) and library(libtarget.a and
> libextras.a) files built with the ecos configtool to a single file in other
> format (eg. srecord).

Link with your application to make an ELF file.

A hello world example is covered at:
http://sources.redhat.com/ecos/docs-latest/tutorials/arm/ecos-tutorial.13.html#pgfId=1741760

You can convert ELF files to SREC files with:

TARGET-objcopy -O srec file.elf file.srec

where TARGET is the tools prefix for your target, e.g. arm-elf, i386-elf,
etc.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-27  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-27  2:11 [ECOS] linking object and library files build from configtool into single file Ho Shui Choy Stanley PS03B NCS
2001-03-27  4:50 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).