This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
freebsd & -frepo
- To: egcs-bugs at cygnus dot com
- Subject: freebsd & -frepo
- From: Jay Sachs <sachs at bull dot cs dot williams dot edu>
- Date: Mon, 27 Oct 1997 08:52:37 -0500
Ok, I give. What's the magic incantation to get -frepo to work under
FreeBSD2.2? Any recent snapshot; the .rpo files are generated, but no
file gets recompiled and the link dies.
// y.cc
template <class T>
class C
{
public:
void foo();
};
template <class T>
void C<T>::foo()
{
}
int main()
{
C<int> c;
c.foo();
return 0;
}
compiled with
% g++ -frepo y.cc
% g++ y.o
gives an error to the effect of
undefined symbaol C<int>::foo(void)
-Jay