Working with gcc
Alexandre Oliva
aoliva@redhat.com
Thu May 10 17:47:00 GMT 2001
On May 9, 2001, "Alex Arulanthu" <alex@cs.wustl.edu> wrote:
> I am trying out the new gcc 2.95.3. I installed on Solaris 2.8.
> gcc is throwing out a lots of errors during linking..
It's not GCC, it's the linker. The Solaris linker will complain when
creating shared-libraries out of non-PIC when given the option -ztext,
which GCC passes to it when asked to create a shared library unless
the -mimpure-text switch is given to GCC. I.e., either use PIC
objects only, or use -mimpure-text.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list