Re: Linux-2.4.0-test9-pre2

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Sep 18 2000 - 03:51:54 EST


H. Peter Anvin wrote:
> Ideally, the linker should have some kind of merging pass to merge
> these multiple instances -- this really could help C++ template
> instantiation problems as well -- but for now, the only "safe" way is
> pretty much to provide a library with non-inlined versions and hope
> nothing gets linked from it.

The linker does merge multiple instances of C++ template functions.

It's GCC you'd need to teach about merging the non-inlined functions.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:16 EST