Re: -fpic support detection in testsuite

2008-02-19 Thread Hans-Peter Nilsson
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 othe

Re: -fpic support detection in testsuite

2008-02-19 Thread Janis Johnson
On Tue, 2008-02-19 at 17:04 +, Jan Beulich wrote: > gcc/testsuite/lib/target-supports.exp checks whether the compiler spits > out any messages when using -fpic/-fPIC; this doesn't cover the case > where the compiler happily processes everything, but the linker cannot > deal with the result (in