gpre - Firebird source pre-processor
Contents
Copyright & License
Copyright (C) Damyan Ivanov, 2009.
This manpage was written by Damyan Ivanov for the Debian project but may be used by others. Permission is
granted to use this document, with or without modifications, provided that this notice is retained. If we
meet some day, and you think this stuff is worth it, you can buy me a beer in return.
Firebird 4.0 2025-02-17 GPRE(1)
Description
gpre is a source pre-processor for easier writing of programs working with the raw Firebird API. It
supports multiple source languages. Using gpre, you can mix special SQL-like language with the normal
program source.
Name
gpre - Firebird source pre-processor
Options
-ada
Source is an Ada program.
-handlespackagename
Ada only. Specifies the handles package.
-c Source is a C program.
-cxx | -cplusplus
Source is a C++ program.
-databasename
Pre-define database connection.
-d_float
Generate "blr_d_float" for doubles.
-either_case
Accept upper or lower case DML in C.
-fetch_password
Fetch password from file.
-charsetstring
Default character set & format.
-lang_internal
Set some variables to defaults usable for internal Firebird use.
-manual
Do not automatically ATTACH to a database.
-no_lines
Do not generate C debug lines.
-output
Send output to standard out
-passwordstring
Default password.
-raw
Generate unformatted binary BLR.
-sql_dialectvalue
SQL dialect to use.
-sqlda N
Deprecated feature.
-username
Default user name.
-verbose
Verbose output to stderr.
-x External database (used with -database).
-cob
Source is a COBOL program.
-ansi
Generate ANSI85 compatible COBOL code.
-rmc
RM/Cobol
-z Print software version.
-basedir
Base directory for compile-time database.
-dfmformat
COBOL date format
-noqli
Suppress QLI syntax.
-fortran
Source is a FORTRAN program.
-pascal
Source is a Pascal program.
-trusted
Use trusted authentication.
Synopsis
gpre [option...] inputoutput
