This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Linking question ?









Hi !

I use a C++ library of templated classes, it is a small set of very big C++
files, and when I link to the library my application grows big time.

It look's like it links to stuff in the library that are not referenced in
any way, my question is how is the link done, will it put the entire object
file into my executable if anything is referenced or does it only include
the methods that are used in the object file ?

Mikael Aronsson