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]

Re: Linking question ?



Alexandre Oliva <oliva@dcc.unicamp.br> said:
> On Feb 18, 1999, mikael.aronsson@flygt.com wrote:
> > 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 ?
> 
> The former

To expand a little on this: If you want the later, put each method in a
separate .cc file
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616