This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Converting Binaries for LEON CPU
- From: Andrew Lai <laiandrew at cwc dot nus dot edu dot sg>
- To: eCos Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 26 Mar 2002 16:52:21 +0800
- Subject: [ECOS] Converting Binaries for LEON CPU
Hi all,
I have a particular file called "tm_basic.o", which was produced in the
eCos development environment. Have been experimenting with eCos over the
LEON. "tm_basic.o" was compiled in the eCos environment. The question is:
How to convert tm_basic.o into a form that can be run by LEON and TSIM?
I suspect that I should be using sparc-rtems-objcopy. Have tried this
without success. Am probably missing something in the switches. This the
why i've used the command:
sparc-rtems-objcopy -O elf32-sparc tm_basic.o tm_basic
sparc-rtems-objcopy -O srec tm_basic.o tm_basic.srec
Am I missing something?
Regards,
Andrew Lai
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss