delorie.com/archives/browse.cgi | search |
From: | G Jaye <garyj AT asan DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: getting gcc to work with C++ classes |
Date: | 30 Aug 1999 03:04:01 -0500 |
Organization: | Newscene Public Access Usenet News Service (http://www.newscene.com/) |
Message-ID: | <37CA3B28.85A94FD6@asan.com> |
References: | <37C61861 DOT 832BAEDF AT asan DOT com> <7q5fl2$dek$1 AT taliesin DOT netcom DOT net DOT uk> |
NNTP-Posting-Host: | 207.113.83.26 |
NNTP-Posting-Date: | Mon, 30 Aug 1999 03:03:14 CDT |
X-Trace: | newscene.newscene.com 936000194 207.113.83.26 (Mon, 30 Aug 1999 03:03:14 CDT) |
X-Mailer: | Mozilla 4.61 [en] (Win98; I) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Lines: | 15 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Michael Stewart wrote: > > > It sounds like you are not linking in the C++ library (FAQ 8.7). > Either link with -lstdcxx or use gxx to do it for you. You're right! it's a linkage problem that is easily solved by specifying gxx instead of gcc from the command line. The FAQ section that's entitled "Invoking gcc" (or something to that effect) surprisingly didn't make mention of this: the info doesn't appear until section 8.7 (as you indicated). Thank you gary jaye
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |