How to get COFF-format code

2001-03-09 Thread Lin, Nan-Hung
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 at fiberlogic.com ** Sent

How to get COFF-format code

2001-03-09 Thread Jerry Van Baren
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

How to get COFF-format code

2001-03-09 Thread Jerry Van Baren
Hey, look at that. Tornado-2 (gcc-based) cross compiler supports a flavor of coff: C:\tmpobjdumpppc -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