Mail Archives: djgpp/2001/11/05/06:42:40
On Mon, 5 Nov 2001, Igor Bujna wrote:
> Hi,
> i have this c++ example file(o.cc):
> #include <iostream.h>
> int main()
> {
> cout << "Well, hi there.\n";
> return 0;
> }
> When i compile this(gcc o.cc -lstdcxx) i get this errors.
> Where is problem?
> Thank you
> x:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0x1d50):iostream.cc:
> undefined reference to `__rtti_class'
What version of GCC is that? If it's 3.0.2, you are using incorrect
(old) version of libstdcxx.a. The correct one is in the directory
x:/djgpp/lib/gcc-lib/djgpp/3.02/libstdcxx.a.
- Raw text -