SCO UNIX and --enable-shared

Jeffrey A Law law@cygnus.com
Mon Dec 15 14:14:00 GMT 1997


  In message < 34957F68.85316C34@evolving.com >you write:
  > SCO UNIX OpenServer 5.0.0 (with patches).
  > 
  > egcs-1.0 configured with '--enable-haifa'
  >     builds and installs fine.
Good.


  > egcs-1.0 configured with '--enable-haifa --enable-shared'
  >     dies during the library build with (paraphrased):
  >     '-mcoff incompatible with -fPIC'.
I think this is expected.

You might try --enable-shared --disable-multilib

That would disable coff stuff (I think), which should allow you to build
shared libs.

jeff



More information about the Gcc-bugs mailing list