This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: win32 dlls and template instanciations
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mathieu Lacage <Mathieu dot Lacage at sophia dot inria dot fr>
- Cc: binutils at sourceware dot org
- Date: Mon, 2 Jul 2007 17:59:35 -0400
- Subject: Re: win32 dlls and template instanciations
- References: <1183385878.4539.37.camel@garfield.inria.fr>
On Mon, Jul 02, 2007 at 04:17:58PM +0200, Mathieu Lacage wrote:
> I do not know enough about the win32 linking and loading mechanism to
> tell whether or not this is really a bug or just a feature but I am
> looking for a workaround.
This is how DLLs are supposed to work.
> I thus tried to re-compile my program with -fno-implicit-templates but
> this did not eliminate template instanciation: the dll and the main
> binary still contain a copy of the template. Is there something special
> I should know about this option ?
This is probably not a good list for questions about GCC options,
sorry.
--
Daniel Jacobowitz
CodeSourcery