2008/10/19 Edward Peschko:
>
> 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?

http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Invoking-G_002b_002b.html

"g++ ... automatically specifies linking against the C++ library"

Jonathan

Reply via email to