This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linking question ?
- To: egcs at egcs dot cygnus dot com
- Subject: Re: Linking question ?
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Sun, 21 Feb 1999 13:50:08 -0400
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