about -fpic/-fPIC option for gcc
Ian Lance Taylor
iant@google.com
Tue Sep 19 05:44:00 GMT 2006
Lin George <george4academic@yahoo.com> writes:
> I think if -fpic will generate less information than
> -fPIC in GOT, we will be impacted by such information
> when develop/debug?? For example, missing some symbol
> names will make debugger fail to find
> function/variable names.
Using -fpic will not affect the debugging information.
The difference between -fpic and -fPIC is that some large programs
will fail to link if you use -fpic. All programs will link if you use
-fPIC.
Ian
More information about the Gcc-help
mailing list