On 03/23/2016 04:12 PM, Britton Kerin wrote:
I can't tell from the manual if -fPIC is safe for executable programs, or only for libraries. I want to use -fPIC or -fPIE so dladdr() will work right. I would rather use -fPIC if possible, because it seems simpler to use one such option for everything if possible.
Sadly, it depends on the target (processor & OS in use). jeff