To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=50505





------- Additional comments from [EMAIL PROTECTED] Wed Aug 17 04:17:36 -0700 
2005 -------
hr->ause: You won't like the answer ...

In general libs should be linked in descending order of dependencies that is
libraries that depend on another library should be linked before that one.
Static libs which contain "application code" which depends on other libraries
should be linked before them (the linker just adds any objects from the static
archive if it's needed to solve any missing symbol from the objects (including
other static libs) which have been processed before. If the linker is advised to
include the whole archive it's just the same as unarchving the objects with ar x
libfoo.a and link them directly.

The linking order is especially important if a symbol is provided by more than
one shared library. Symbol resolution is done in a "directed graph" so it's well
defined even if a symbol is provided twice, but the resolution will depend on
the order of linking. Rememeber the story with libthread on Solaris?

So answer is: In 98% of the cases (symbols are unique) the link order probably
does not matter. But you can't depend on it for all cases.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to