-fpic support detection in testsuite

Hans-Peter Nilsson hp@bitrange.com
Tue Feb 19 22:49:00 GMT 2008


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



More information about the Gcc mailing list