* How to get COFF-format code
@ 2001-03-09 9:57 Lin, Nan-Hung
2001-03-09 12:21 ` Jerry Van Baren
2001-03-09 12:23 ` Jerry Van Baren
0 siblings, 2 replies; 3+ messages in thread
From: Lin, Nan-Hung @ 2001-03-09 9:57 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I use linux-2.4.0-test13-pre2 and
Processor Type as 8xx
Machine Type as TQM855L
The "make" only generates ELF-format code.
How to generate COFF-format code ?
Thanks for help.
------------------------------------------
Carl Lin carl@fiberlogic.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get COFF-format code
2001-03-09 9:57 How to get COFF-format code Lin, Nan-Hung
@ 2001-03-09 12:21 ` Jerry Van Baren
2001-03-09 12:23 ` Jerry Van Baren
1 sibling, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2001-03-09 12:21 UTC (permalink / raw)
To: linuxppc-embedded
objcopy should be able to do this (it does everything else!), just
specify that the output format be coff (ecoff?). I have not actually
done this, so I'll leave it as an exercise to determine the proper set
of flags.
objdump -i # list known target formats
objcopy -h # help: last line shows supported target formats
If *coff* is listed, you are in luck. If not, it will be some more
work (I'm sure that was an understatement :-).
My reference linux system is x86 and doesn't support coff. Your
mileage may vary.
gvb
At 05:57 PM 3/9/01 +0800, Lin, Nan-Hung wrote:
>Hello,
>
>I use linux-2.4.0-test13-pre2 and
> Processor Type as 8xx
> Machine Type as TQM855L
>
>The "make" only generates ELF-format code.
>How to generate COFF-format code ?
>
>Thanks for help.
>
>
>------------------------------------------
>Carl Lin carl@fiberlogic.com
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get COFF-format code
2001-03-09 9:57 How to get COFF-format code Lin, Nan-Hung
2001-03-09 12:21 ` Jerry Van Baren
@ 2001-03-09 12:23 ` Jerry Van Baren
1 sibling, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2001-03-09 12:23 UTC (permalink / raw)
To: linuxppc-embedded
Hey, look at that. Tornado-2 (gcc-based) cross compiler supports a
flavor of coff:
C:\tmp>objdumpppc -i
BFD header file version cygnus-2.6
elf32-powerpc
(header big endian, data big endian)
powerpc:common
aixcoff-rs6000
(header big endian, data big endian)
powerpc:common
rs6000:6000
gvb
At 05:57 PM 3/9/01 +0800, Lin, Nan-Hung wrote:
>Hello,
>
>I use linux-2.4.0-test13-pre2 and
> Processor Type as 8xx
> Machine Type as TQM855L
>
>The "make" only generates ELF-format code.
>How to generate COFF-format code ?
>
>Thanks for help.
>
>
>------------------------------------------
>Carl Lin carl@fiberlogic.com
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-03-09 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 9:57 How to get COFF-format code Lin, Nan-Hung
2001-03-09 12:21 ` Jerry Van Baren
2001-03-09 12:23 ` Jerry Van Baren
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 NNTP newsgroup(s).