This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -export-dynamic with .a files?


On Mar 19, 2003, Andrew Haley <aph at redhat dot com> wrote:

> Erik Poupaert writes:

>> Is there a reason why -export-dynamic doesn't work with .a files?

>   -E, --export-dynamic        Export all dynamic symbols

> .a files have no dynamic symbols.

Err...  Just like .o files :-) If they do get linked in, they become
dynamic symbols.  But object files inside .a files, unlike .o files
explicitly listed in the command line, don't get linked in unless
they're actually referenced.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]