On 04/02/2018 03:34 AM, Uma Rajagopal wrote:
Hi all, Would like to know from which version of GCC ,support is enabled for -fpie (position independent executable)
Based on Subversion logs it was added in r67359 (in June 2003). I think that would make GCC 3.4.0 the first release to include it. It is the first release where it's documented: https://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/Option-Summary.html Martin