is -fPIC safe for executable programs, or must -fPIE be used?

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

 



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.

Thanks,
Britton



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux