help-gplusplus
[Top][All Lists]
Advanced

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

Re: Link to static library from DSO without exporting symbols?


From: Paul Pluzhnikov
Subject: Re: Link to static library from DSO without exporting symbols?
Date: Fri, 29 Sep 2006 02:50:27 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Boris" <boris@gtemail.net> writes:

> If I know these other objects are 
> linked in only because they are required and not because the user insists to 
> include the whole archive why should their symbols be exported?

[This topic has strayed too far from g++.
Perhaps you should take it to *advocacy* group.]

You know that you don't want these symbols to be exported, but the
linker can't "read your mind", and doesn't.

If the default was to do what you wish, it would be very confusing
and non-orthogonal; as if "ls" listed files, but "ls -l" removed
them. Unix programmers in general do not like options that change
the bahaviour in non-obvious ways.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]