Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does one compile a precompiler program?

precompiler program
0
Posted

How does one compile a precompiler program?

0

proc iname=myprog.pc host=C Oracle includes some sample precompiler programs with it’s installation. These are normally located under the $ORACLE_HOME/precomp/demo/proc (or related) directories. After you’ve precompiled your program, invoke the standard host language compiler and linker. Also remember, if you modify your source code, change the original precompiled source program. In C, for example, you would modify the *.PC file and not the *.C file. The *.C file gets overwritten every time you precompile your program. Look at the following table for other host languages: Language:Program:Precompiler:Precompiled to: C *.pc proc *.c COBOL *.pco procob *.cob FORTRAN *.pfo profor *.for PASCAL *.ppa propas *.pas ADA *.pad proada *.ada • Back to top of file How does one compile a PRO*C program? You can study the sample makefile provided by Oracle and construct your own, but it would probably be better to just use “make” to precompile and then compile your program in one step. Look at this

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123