This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ problems /w egcs-2.91.52 on sparc-linux?
- To: kmilans at CapAccess dot org (Kevin Milans)
- Subject: Re: libstdc++ problems /w egcs-2.91.52 on sparc-linux?
- From: hjl at lucon dot org (H.J. Lu)
- Date: Wed, 29 Jul 1998 00:19:48 -0700 (PDT)
- Cc: egcs-patches at lucon dot org, egcs at cygnus dot com
>
> Hello,
>
> After a clean build of egcs-2.91.52 from CVS on sparclinux, any
> linking with libstdc++ complains about an undefined reference to
> `filebuf virtual table'. I'm using GNU binutils v. 2.9.1 (with BFD
> 2.9.1.0.4). For example, the file test.cc
>
I cannot link this simple program on Linux/Alpha. Can you like it on
Linux/Sparc?
# gcc foo.cc
will do
H.J.
---foo.cc-
struct A
{
virtual void f() = 0;
};
struct B : A
{
void f() {}
};
int main() { B b; return 0; }