This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12104] New: Create an archive that uses templates


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12104

           Summary: Create an archive  that uses templates
           Product: gcc
           Version: 2.96 (redhat)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: menita dot singh at schwab dot com
                CC: gcc-bugs at gcc dot gnu dot org

IN CC, there is an option CC -xar, which creates an archive if, my code uses 
templates. Using this option, automatically adds the templates to archive as 
needed.

I need the equivalent option in g++. Or is there an alternate method to create 
the archive ? If i use ar command, the archive gets created, but i get link 
errors, where i use the library.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]