[12816] in Athena Bugs
decmips 7.7G: g++ in the gnu locker
daemon@ATHENA.MIT.EDU (hardts@MIT.EDU)
Fri Oct 28 15:09:24 1994
From: hardts@MIT.EDU
To: bugs@MIT.EDU
Date: Fri, 28 Oct 1994 15:09:17 EDT
System name: m11-116-9
Type and version: KN02ca 7.7G
Display type: PMAG-DV
What were you trying to do?
Compile a c++ program which I have previously compiled on the same
system using g++. It failed, so I tried compiling a trivial program which
failed in exactly the same way.
What's wrong:
When I run g++ I get the following error:
g++ test.C
In file included from /mit/gnu/lib/g++-include/streambuf.h:34,
from /mit/gnu/lib/g++-include/iostream.h:31,
from test.C:1:
/mit/gnu/lib/g++-include/libio.h:35: _G_config.h: No such file or directory
This is the trivial program "test.C" I was using:
#include <iostream.h>
main()
{
cout << "Hello World." << endl;
}
What should have happened:
The trivial test program should have compiled with no difficulty. I
had no problem compiling the above program with a different c++ compiler.
For example,
/mit/cygnus/decmipsbin/g++ test.C
does work.
I looked at the file /mit/gnu/lib/g++-include/_G_config.h in the gnu
locker. I.e. the file g++ was looking for. It is a link to a file that does
not exist.