How to compile without header files in working directory
I was able to compile and successfully execute a program earlier
written in Oracle 7 (Solaris) but now in Oracle 10G (Linux). The only
problem is that I have to include two header files
sqlca.h and sqlda.h in the present working directory.
If I remove them from current working directory it gives error
sqlda.h etc. not found.......
The commands used for compiling.......
2.$cc -L$ORACLE_HOME/lib -L/usr/lib -lclntsh -o sample sample.c
How to compile so that the sqlca.h and sqlda.h are not to be entered in current working directory and still the program gets compiled ?