[Bug c++/12104] New: Create an archive that uses templates
menita dot singh at schwab dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 29 14:49:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list