This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: linking object and library files build from configtool into single file
- To: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Subject: Re: [ECOS] linking object and library files build from configtool into single file
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 27 Mar 2001 13:50:35 +0100
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <19C34CD863B1D4118E2800508BAF663A0112F5F9@STONE>
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