This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] testsuite/target-supports.exp: check_effective_target_fpic
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: drow at false dot org
- Cc: hans-peter dot nilsson at axis dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Apr 2005 02:58:23 +0200
- Subject: Re: [RFA:] testsuite/target-supports.exp: check_effective_target_fpic
> Date: Tue, 5 Apr 2005 20:56:48 -0400
> From: Daniel Jacobowitz <drow@false.org>
> On Wed, Apr 06, 2005 at 02:48:56AM +0200, Hans-Peter Nilsson wrote:
> > + # Return 1 if -fpic and -fPIC are supported, as in no warnings or errors
> > + # emitted, 0 otherwise. Whether a shared library can actually be built is
> > + # out of scope for this test.
> > + #
> > + # This won't change for different subtargets, so cache the result.
>
> Why not? There can be multilibs incompatible with position-independent
> code.
In theory, yes. Do you know of any in practice?
brgds, H-P