On Thu, Feb 19, 2015 at 10:30:50AM +0000, Richard W.M. Jones wrote:
> info gcc, of course yes. -DPIC is not documented at all, and the
> various pie/pic options are obscure to say the least.
Why should -DPIC be documented? -D is documented. -DPIC means define
macro PIC to 1. There is no magic in that beyond, just a convention,
used e.g. by libtool, so that some sources can do things conditional on
whether they are compiled as position independent or not. Of course, gcc
also predefines __pic__/__PIC__/__pie__/__PIE__ macros depending on command
line options.
Jakub
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct