Re: -no-undefined option

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

 



Lin George <george4academic@xxxxxxxxx> writes:

> Thank you for your comments. I think if "--no-undefined" error does
> not exist, when building the shared library, the external
> dependencies should not be solved (means, linker will not find
> exported symbol is actually implemented), right?

If I understand you correctly, then that is right.

> When we add the option, when building a shared library, linker will
> find all imported external symbols are implemented (i.e. defined) by
> other modules.

Yes, it will give an error if any symbol is not defined somewhere.

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