[This is not appropriate for gcc@, please use gcc-help@] > That worked (thanks) but exactly why did it work? Shouldn't gcc be > smart enough to realize that it is working either with a c++ file or > linking to a c++ library? gcc is the C compiler, use g++ when you're compiling C++, gfortran when you're compiling Fortran and so on. -- Eric Botcazou