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]

freebsd & -frepo



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


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