FC4 problem

I have:
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
pgCC 5.2-2
Linux amd13 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux


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.

Hi none38383,

PGI 5.2 doesn’t support FC4 and is why your seeing this error. (See here for a complete list of suported platforms) Please contact sales@pgroup.com for more information about upgrading your compiler. Note that if your on subscription, this can be done at no additional cost.