cannot find -lstdc++ error

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

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 ;) ]

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.

More specificly, make sure you have the correct version of GCC installed.

Which is GCC3, not GCC4. Or, if you do have GCC4, ensure that you have the "legacy" support libraries installed.