[ECOS] linking object and library files build from configtool into single file
Jonathan Larmour
jlarmour@redhat.com
Tue Mar 27 04:50:00 GMT 2001
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
More information about the Ecos-discuss
mailing list