I am trying to compile a C++ program on UNIX using CC: Sun C++ 5.11 SunOS_i386
. I created the following Makefile
.
ORACLE_HOME=/app/ora/local/product/11.2.0.3/db_1
CC= CC -m64 -library=iostream
test.cpp : test.pc
$(ORACLE_HOME)/bin/proc test.pc code=CPP sys_include=/usr/include cpp_suffix=cpp
test.o : test.cpp
$(CC) -c test.cpp -DDEBUG -DSOLARIS -I$(ORACLE_HOME)/precomp/public
test.bin: test.o
$(CC) -o test.bin test.o -L$(ORACLE_HOME)/lib -lclntsh -lnsl -lsocket -lgen -ldl
When I executed the Makefile, I am getting the following error...
#include <iostream>
.........1
PCC-S-02015, unable to open include file
Is there anything I am missing? What else I can do?