| delorie.com/archives/browse.cgi | search |
| Message-Id: | <5.1.0.14.2.20011119160445.025f7e40@pop.softhome.net> |
| X-Sender: | tergiversator AT pop DOT softhome DOT net |
| X-Mailer: | QUALCOMM Windows Eudora Version 5.1 |
| Date: | Mon, 19 Nov 2001 16:07:14 +1100 |
| To: | djgpp AT delorie DOT com |
| From: | Le Chat Noir <tergiversator AT softhome DOT net> |
| Subject: | Re: problems linking .cc and .cpp sources |
| In-Reply-To: | <9t82ol$k3c$1@nreadb.inwind.it> |
| 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 |
At 18/11/2001 09:42 PM, you wrote: >I've got some problems to link .cc and .cpp files with djgpp bur it works >with .c files. It runs under windows 98 and when i try to link these files >it says >Error: c:/djgpp/bin/ld.exe: cannot find -lstdcx > >Can anyone help me? Tnx a lot As Eli said, your answer might be in section 8.2 of the FAQ; or, it could be as simple as this: try linking with gxx instead of gcc. gxx will automatically do all the necessary C++ stuff for you (which in the case of your problem, means linking against libstdcxx.a). Cheers.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |