cannot find -lstdc++ error

BlitzMax Forums/BlitzMax Beginners Area/cannot find -lstdc++ error

sczerbiak(Posted 2005) [#1]
i'm trying to run BlitzMax in linux but i always get this error when i try to run any of the samples from BlitzMax..

Building oldskool2
Compiling:oldskool2.bmx
flat assembler version 1.52
7 passes, 641090 bytes.
Linking:oldskool2.debug
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status

Process complete

[ sorry my bad english ;) ]


Craig Watson(Posted 2005) [#2]
Which distribution are you using? There's a Linux forum with instructions for setting up a BlitzMax development environment on some of the more popular distributions.

Make sure you have installed the relevant development packages and rebuilt modules.


FlameDuck(Posted 2005) [#3]
More specificly, make sure you have the correct version of GCC installed.


Mark Tiffany(Posted 2005) [#4]
Which is GCC3, not GCC4. Or, if you do have GCC4, ensure that you have the "legacy" support libraries installed.