This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Working with gcc
- To: "Alex Arulanthu" <alex at cs dot wustl dot edu>
- Subject: Re: Working with gcc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 May 2001 21:46:46 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <021a01c0d844$49f14be0$320110ac@sylantro.com>
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