-
How to compile without header files in working directory
Hi.
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.......
1.$proc sample.pc
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 ?
regds.
J.S.Sachdeva
-
Hi
You can use softlinks or include that in your path.
regards
Hrishy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|