This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SCO UNIX and --enable-shared
- To: Daniel Rosenblatt <Daniel dot Rosenblatt at evolving dot com>
- Subject: Re: SCO UNIX and --enable-shared
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 15 Dec 1997 15:17:27 -0700
- Cc: egcs-bugs at cygnus dot com
- Reply-To: egcs-bugs at cygnus dot com
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