Compilation process
A Pro*C program is compiled in two steps.

First, the Pro*C precompiler recognizes the SQL statements embedded in the program, and replaces them with appropriate calls to the functions in the SQL runtime library.
- The PROC compiler generates .c file with all the SQL statements replaced by the functions which are already pre-defined within the Oracle runtime library.
proc file.pc /* this will build file.c and file.lis */
The output is pure C/C++ code with all the pure C/C++ portions intact. Then, a regular C/C++ compiler is used to compile the code and produces the executable.
gcc -o file file.c
Few Restrictions
Oracle Pro*C precompiler doesn’t precompile the files, which include space within the file name.
Pro*C doesn’t realize the #define directive.