This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: using templates in shared library
- To: K dot Peeters at damtp dot cam dot ac dot uk, oliva at dcc dot unicamp dot br
- Subject: Re: using templates in shared library
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 9 Dec 1998 10:21:08 -0800
- Cc: egcs at egcs dot cygnus dot com
> From: Kasper Peeters <K.Peeters@damtp.cam.ac.uk>
> Date: Wed, 9 Dec 1998 11:17:48 +0000 (GMT)
> But regardless of the philosophy, let me rephrase my question: how
> can I force the compiler NOT to instantiate symbols in an object
> file which are already present in a given shared library on my
> system?
-frepo. You do a full link with the two on the command line, and let
it error out. But as a side effect, it will instantiate everything
just once.