COFF & ELF

Richard W. Cook rwc at atl2
Thu Jan 31 03:51:21 AEST 1991


in article <1991Jan19.162846.19735 at mccc.edu>, pjh at mccc.edu (Pete Holsberg) says:
> 
> Running SV/386 R3.2.2 on an AT&T 6386 with the V5.0 ANSI C compiler.  I
> have a C++ compiler that has COFF libraries.  Can I change them to ELF
> with the coff2elf thing in /usr/ccs/bin?  (Docs are at the office.)
> 
Yes:  If you only need to relink those libraries into an executable,
      you can use coff2elf to convert them.

      AT&T's C++ 2.1 Language System supports the ANSI C V5.0 compiler,
      so you're o.k. if planning on using it in conjunction with the 
      V5.0 compiler.

No:   I can't speak for other vendor's C++ products (not that I speak in
      any offical capacity for AT&T, either) but AT&T's C++ Language
      System depends on ar() to provide it with symbol table data.
      The V5.0 compiler version of ar() produces output that is incompatible
      with those earlier releases of C++.

      This incompatibility could be easily corrected in early distributions
      of C++ 2.1 with a shell script change.  I'm not sure how the "official"
      distribution handles it....

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Cook                           
AT&T Computer Systems                  {attmail,att}!cpsc53!rwc
Customer Application Engineering       (404) 564-6605
Atlanta, GA.
           "I don't speak for AT&T and she don't speak for me."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the Comp.unix.sysv386 mailing list