Examples of Using gpre
The following command preprocesses a C program in a file named
appl1.e. The output file will be
appl1.c. Since no database is specified, the source code must connect to the database.
gpre -c appl1
The following command is the same as the previous, except that it does not assume the source code opens a database, instead, explicitly declaring the database,
gpre -c appl1 -d mydb.ib