Re: about -fpic/-fPIC option for gcc

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

 



Lin George <george4academic@xxxxxxxxx> 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

[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