This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g++ 3.1.1 issue


I've downloaded & installed gcc 3.1.1 from
gcc.gnu.org, it compiled OK but I've got a problem:
gcc does compile c++ sources but is not
autoconfigured to find STL include headers.
for example, such main.C will compile:
int main()
{  return 0; }

and such file won't:

#include <iostream>
int main()
{
  std::cout << "Hello, World!\n";
  return 0;
}

when I say gcc main.C, it says <iostream>
not found, and std is not a namespace...

I've search to installation guide, it
doesn't say much about such problem.
Where to find documentation on gcc configuration.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]