[Bug c++/12104] Create an archive that uses templates
menita dot singh at schwab dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 29 18:56: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
------- Additional Comments From menita dot singh at schwab dot com 2003-08-29 18:56 -------
OK, thanks. i m now compiling all sources & library code together to make an
executable. I use this :
g++ -g -frepo -c gmds.cpp
g++ -g -frepo -c sync.cpp
compilation is good for all my sources. Now i link :
g++ -g -frepo sync.o gmds.o -o qm
After this step, i get
collect: recompiling gmds.cpp ....
But then again, i get the errors ("undefined reference" - All errors are
related with templates.
So, do we need -frepo at link also, as above, or is there another otion to
use .rpo files ??
More information about the Gcc-bugs
mailing list