(Answer) (Category) SCO comp.unix.sco.programmer FAQ. : (Category) SCO Development Environments. :
Building Shared libraries with GCC or SCO cc
[ Answer by Bela and Robertl ] 

                  SCO cc            GDS               EGCS or GCC >= 2.8.0
              ==============  ===============   ==============================
      Make things to go into .so
              -belf -KPIC         -belf -fpic             -fpic

      Make a .so
              -belf -G            -belf -G                -G

      Use a .so
              -belf               -belf                   

Everything is identical between SCO's cc and GDS except the spelling 
of the "generate position-independent code" option.

GCC 2.8.0 and EGCS 1.0 default to ELF, making the flag to emit ELF 
unnecessary.   

 
robertlipe@usa.net
[Append to This Answer]
Previous: (Answer) OLD GDS (as on Skunkware) vs. New GCC 2.95.X or GCC 3.0.X
Next: (Answer) Will UnixWare 2.1 or 7.0 run ibcs/OpenServer binaries?
This document is: http://www.zenez.com/cgi-bin/scoprogfaq/faq?file=52
[Search] [Appearance]
This is a Faq-O-Matic 2.721.