HP 3000 Manuals

Compiling and Linking the Program [ ALLBASE/SQL Pascal Application Programming Guide ] MPE/iX 5.0 Documentation


ALLBASE/SQL Pascal Application Programming Guide

Compiling and Linking the Program 

Figure 1-3 summarizes the steps in creating an executable ALLBASE/SQL
Pascal program from the files created by the Pascal preprocessor.

[]
Figure 1-3. Compile-Time and Linking-Time Events You submit to the Pascal compiler a modified source code file and related include files created by the preprocessor. The compiler then generates an object code module. To convert object code modules into an executable program, link them after compilation by invoking the linker. This step creates an executable program file. In the following example, an executable program named SomeProg is created after a module named Pgmr1@AcctDB.SomeMod is stored by the Pascal preprocessor in a DBEnvironment named SomeDBE.GroupDB.AcctDB. The program is in the GroupP group. :HELLO PGMR1.AcctDB,GroupP . . :RUN PSQLPAS.PUB.SYS; INFO = 'SomeDBE.GroupDB (MODULE(SOMEMOD))' . . :PASXLLK ModifiedSourceCodeFile,SOMEPROG,$NULL


MPE/iX 5.0 Documentation