PROBLEM WITH CONFIGURING GCC WHEN G++ WORKS

Mike Stump mrs@apple.com
Thu May 5 19:58:00 GMT 2005


On Thursday, May 5, 2005, at 11:41  AM, Tobe Olisa wrote:
>  On performing a C++ compilation using g++, I get no
> errors, and my codes compile and execute cleanly.
> However, on using gcc - which I actually need to
> use,

This sounds odd.

>  I get a screenful of error messages, specifically
> these:

> undefined reference to `std::cout'

You can use -lstdc++ on the link line.

Also, please don't send to both lists, just send to gcc-help.



More information about the Gcc mailing list