How can I tell Pro*C what directory my header files are in?
Submitted by admin on Mon, 2005-11-28 14:30.
Is there some way to tell the Pro*C preprocessor to search other directories for include (*.h) files, similar to the C compiler switch "-I
As documented in the Pro*C manual (in the chapter called "Running the Precompiler"), there is an INCLUDE flag that can be used for this. Look at this example:
proc iname=inputfile.pc include=directory1 include=directory2 ...
»
- Login to post comments

