Subject: Re: Switching lib/csu/c++/c++rt0.c to -fPIC
To: Ignatios Souvatzis <>
From: Paul Kranenburg <>
List: tech-userlevel
Date: 12/14/1999 23:36:20
> What happens if _one_ library my program needs is so bit that it needs -fPIC...
> do I need to build all libraries.

No, you can mix both.

The restriction in this regard is that all object files from which you
build the shared library must be compiled with the same "memory model".