I have:
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
pgCC 5.2-2
glibc-2.3.6-3
Linux amd13 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux
Hi,
I know I’ve seen the solution to this before, but I can’t find it. I’m seeing again now that I’ve upgraded to FC4.
I’m trying to compile:
#include <iostream.h>
using namespace std;
int main() { cout << “hi” << endl; }
and get errors about float.h:
“~/pgi/linux86/5.2/include/CC/cfloat”, line 32: catastrophic error:
could not open source file “float.h”
include <float.h>
^
1 catastrophic error detected in the compilation of “hi.cpp”.
Compilation terminated.