Brian Nelson <[EMAIL PROTECTED]> writes: >> sed -e 's/CC="gcc"/CC="g++"/g' libtool > lt.tmp && mv -f lt.tmp libtool >> >> to force it. What's the right way to get libstdc++ linked in to shared >> libraries of C++ code? The package uses autoconf, automake, libtool, etc. > > Use -lstdc++ [...]?
No, the right way is to always link C++ libraries with g++, not gcc. Doing otherwise will probably break on some release platforms (e.g. hppa). -- James