[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

In Stretch, gcc producing position independent binaries by default?



Hi,

I have recently completed my first installation of Debian (stretch)
and I am compiling some apps from source. I have noticed that filers
show binaries produce by gcc as being shared library objects instead
of just ELF executables.

I eventually, by searching, I worked around this by specifying the 

-no-pie flag in CFLAGS but I would like to know if gcc is by default
set up to produce 
position independent binaries or if I have not set up things correctly.



My thanks in advance
--
Best Regards
Neoklis - Ham Radio Call:5B4AZ
http://www.5b4az.org/


Reply to: