This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fpic support detection in testsuite
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Jan Beulich <jbeulich at novell dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 19 Feb 2008 17:37:31 -0500 (EST)
- Subject: Re: -fpic support detection in testsuite
- References: <47BB1A33.76E4.0078.0@novell.com>
On Tue, 19 Feb 2008, Jan Beulich wrote:
> Should the testsuite not instead do a test whether all involved tools
> are able to handle -fPIC and its results)?
*shrug* Then, would you want to build a dso or just link
something compiled with -fpic/-fPIC or both?
(I guess just the link; save the other case for some other
effective_target test.)
> Or should the target simply
> disallow -fPIC (and if so, how is that supposed to be done)?
If you go this route, see error call in cris_override_options
(OVERRIDE_OPTIONS worker).
brgds, H-P