Elf vs Coff

Aaron J. Grier aaron@frye.com
Wed Jun 23 15:40:00 GMT 1999


On Wed, Jun 23, 1999 at 12:40:56PM -0700, Langerholc, Larry wrote:
> How do you know if a Gnu based compiler is using elf or coff format?

aaron:~$ ar
Usage: ar [-]{dmpqrtx}[abcilosSuvV] [member-name] archive-file file...
       ar -M [<mri-script]
ar: supported targets: elf32-i386 a.out-i386-bsd coff-i386 a.out-i386-freebsd a.out-i386-netbsd netbsd-core srec symbolsrec tekhex binary ihex

aaron:/usr/local/cross/bin$ ./m68k-coff-ar 
Usage: ./m68k-coff-ar [-]{dmpqrtx}[abcilosSuvV] [member-name] archive-file file...
       ./m68k-coff-ar -M [<mri-script]
./m68k-coff-ar: supported targets: coff-m68k versados ieee srec symbolsrec tekhex binary ihex

does that answer your question?  :)

----
  Aaron J. Grier   |   Frye Electronics, Tigard, OR   |   aaron@frye.com
  "People who are more than casually interested in computers should have
   at least some idea of what the underlying hardware is like. Otherwise
   the programs they write will be pretty weird."   --   Donald Knuth
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list