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] 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



------- 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 ??


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