* [ECOS] how to change some program to a srecord type program?
@ 2001-05-23 20:35 Tony Ko
2001-05-24 6:07 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: Tony Ko @ 2001-05-23 20:35 UTC (permalink / raw)
To: ecos-discuss
hi.
I compiled and linked my program with ecos body. such like below.
> powerpc-eabi-gcc -c ~ ( compile )
> powerpc-eabi-gcc -o test ~ (link)
so the results are test file.
what's the default type of this output test file?
and how do I change this test file to srecord type?
I know that I can use powerpc-eabi-objcopy. But don't know how.
thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [ECOS] how to change some program to a srecord type program?
2001-05-23 20:35 [ECOS] how to change some program to a srecord type program? Tony Ko
@ 2001-05-24 6:07 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2001-05-24 6:07 UTC (permalink / raw)
To: Tony Ko; +Cc: ecos-discuss
On 24-May-2001 Tony Ko wrote:
> hi.
>
> I compiled and linked my program with ecos body. such like below.
>> powerpc-eabi-gcc -c ~ ( compile )
>> powerpc-eabi-gcc -o test ~ (link)
>
> so the results are test file.
> what's the default type of this output test file?
ELF object file format.
> and how do I change this test file to srecord type?
> I know that I can use powerpc-eabi-objcopy. But don't know how.
% powerpc-eabi-objcopy -O srec test test.srec
In the future, use the resources you already have available:
powerpc-eabi-objcopy -h
man objcopy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-24 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23 20:35 [ECOS] how to change some program to a srecord type program? Tony Ko
2001-05-24 6:07 ` Gary Thomas
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).