[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    g++ and link once sections.
From:       Koundinya K <knk () dde ! dk>
Date:       2000-03-29 17:39:58
[Download RAW message or body]

Hi all,
    I am defining the macros MAKE_DECL_ONE_ONLY and UNIQUE_SECTION_P (as
defined in iris6gld.h) in my target definitions file, to enable g++ to
place the template code compiled into the
.gnu.linkonce sections for the linker to handle the rest.

But when I i compiled a couple of object files having template code  the
resulting .o files do not have these sections . Am I missing out any
other macros that are related to this ??

Secondly I would like to know, is this a _must_  for  templates ??


Thanks for any info or pointers on this.

koundinya

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic