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


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

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


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