| www.delorie.com/archives/browse.cgi | search |
| Date: | Mon, 5 Nov 2001 13:38:11 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Igor Bujna <igor DOT bujna AT maxi-tip DOT cz> |
| cc: | djgpp <djgpp AT delorie DOT com> |
| Subject: | Re: GPP problem |
| In-Reply-To: | <3BE67117.5020203@maxi-tip.cz> |
| Message-ID: | <Pine.SUN.3.91.1011105133627.28288E-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |