[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

C++ linking problem



Recently gcc was upgraded on debian testing/woody. Since then I have been
having trouble compiling (mainly linking) C++ code. Here is the kind of
error I get:

g++ try.cpp
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status


AFAIK, C code is compiling perfectly. Any ideas how to fix this?

Thanks.

RAccess
#geeks/irc.openprojects.net

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS GIT GP d- s+: a-- C+++ ULSB+++ P+ L+++ E+ W+++
N+ o K- w--- O- M-- V- PS+ PE Y+ PGP++ t++ 5-- X++
R* tv-- b+ DI+ D- G++ e h! r* !y+
------END GEEK CODE BLOCK------




Reply to: