I continue to receive the fatal compilation error below for this small test:
cat hello.cpp
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
main() {
int i = 5;
printf("Hello, i = %d\n", i);
}
system_profiler -detailLevel mini SPSoftwareDataType
System Software Overview:
System Version: OS X 10.8.5 (12F37)
Kernel Version: Darwin 12.5.0
pgcpp -V -v -o hello.x hello.cpp
pgcpp 13.10-0 64-bit target on Apple OS/X -tp nehalem
The Portland Group - PGI Compilers and Tools
Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved./opt/pgi/osx86-64/13.10/bin/pgcpp1 --nollalign -v -Dunix -D__unix -D__unix__ -D__LITTLE_ENDIAN__ -D__inline__= -Dosx86 -D__osx86 -D__osx86__ -D__APPLE__ -D__LP64__ -D__x86_64__ -D_M_IX86 -D__NO_MATH_INLINES -D__amd64__ -D__extension__= -D__SSE__ -D__MMX__ -D__SSE2__ -D__SSE3__ -D__SSSE3__ -D__PGI_5XC__ -D__PGI -D__signed__=signed -I- -I/opt/pgi/osx86-64/13.10/include/CC -I/opt/pgi/osx86-64/13.10/include -I/usr/local/include -I/Applications/Xcode.app/Contents/Developer/usr/lib/llvm-gcc/4.2.1/include:/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include -I/Applications/Xcode.app/Contents/Developer/usr/lib/llvm-gcc/4.2.1/include -I/usr/include -q -o /var/folders/zz/zyxvpxvq6csfxvn_n0001vk0000fwh/T/pgcppXCUit2g-nDnI.il hello.cpp
Edison Design Group C/C++ Front End, version 4.5 (Oct 22 2013 22:49:08)
Copyright 1988-2012 Edison Design Group, Inc.“/opt/pgi/osx86-64/13.10/include/float.h”, line 58: catastrophic error: cannot
open source file “float.h”
#include_next<float.h>
^1 catastrophic error detected in the compilation of “hello.cpp”.
Compilation terminated.
pgcpp-Fatal-cpp1 completed with exit code 4
The solution posted in catastrophic error: cannot open source file "float.h&qu does not resolve this issue.
The same small test code compiles successfully on the machine with the pgcc command.