On Fri, Jun 03, 2011 at 09:38:31PM +0200, Rainer Orth wrote: > Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Jakub, any suggestion how to properly test for -fpie/-fPIE support? > Otherwise, I'll remove that part of the patch for now and just commit > the -fpic/-fPIC one.
You want to compile/link the program with -pie -fpie rather than just -fpie, if it links, otherwise you are testing just linking PIC code into normal executables. Jakub