Subject: Re: libgcc & PIC
To: Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 04/29/1999 07:48:38
On Thu, 29 Apr 1999, Hubert Feyrer wrote:

: But what if I want to build a shared library or some shared object (like,
: say, for an Apache DSO)? The DSO will contain and require PIC code, but
: libgcc.a can't offer that, which resulted in runtime linker errors on
: Solaris for me.
: 
: Am I missing something very obvious here, or is this really a flaw in
: egcs? (Which I just can't believe, really!)

No, it's a flaw in src/gnu/lib/libgcc/Makefile.

Egcs builds libgcc.a with -fpic.  We don't.  (And we probably should.)  :-P

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)