| delorie.com/archives/browse.cgi | search |
| From: | "DeHackEd" <Not DOT given AT out> |
| References: | <01bd710b$838bd440$a3a9efc2 AT default> |
| Subject: | Re: undefined reference to `__rtti_user' |
| Date: | Sun, 26 Apr 1998 13:21:59 -0400 |
| Lines: | 15 |
| Message-ID: | <e6T3rJWc9GA.295@upnetnews03> |
| Newsgroups: | comp.os.msdos.djgpp |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Link with the C++ library. GCC doesn't do this autmaticly because C programs would just link slower. >gcc test.cpp -o test.exe add "-lgpp -lstdcx" at the end of this command. Or use GPP/G++ or whatever it is you have in your package. I compile using version 2.7.2.1 but you may have gotten 2.8.0 (I don't use it...). gcc test.cpp -o test.exe -lgpp -lstdcx -- "DeHackEd" EMail address not given out due to low-life spammers.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |