gpre(1)

gpre1

Firebird source pre-processor

Usage

gpre [option...] input output

Overview

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.

Options

-ada

Source is an Ada program.

-handles package name

Ada only. Specifies the handles package.

-c

Source is a C program.

-cxx | -cplusplus

Source is a C++ program.

-database name

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.

-charset string

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

-password string

Default password.

-raw

Generate unformatted binary BLR.

-sql_dialect value

SQL dialect to use.

-sqlda N

Deprecated feature.

-user name

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.

-base dir

Base directory for compile-time database.

-dfm format

COBOL date format

-noqli

Suppress QLI syntax.

-fortran

Source is a FORTRAN program.

-pascal

Source is a Pascal program.

-trusted

Use trusted authentication.

Releases

10 releases since Debian 3.1 (Sarge); the text changed 9 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12

-ada since Debian 7 (Wheezy); -ansi since Debian 7 (Wheezy); -base since Debian 7 (Wheezy); -c since Debian 7 (Wheezy); -charset since Debian 7 (Wheezy); -cob since Debian 7 (Wheezy); -cplusplus since Debian 7 (Wheezy); -cxx since Debian 7 (Wheezy); -d_float since Debian 7 (Wheezy); -database since Debian 7 (Wheezy); -dfm since Debian 7 (Wheezy); -either_case since Debian 7 (Wheezy); -fetch_password since Debian 7 (Wheezy); -fortran since Debian 7 (Wheezy); -lang_internal since Debian 7 (Wheezy); -manual since Debian 7 (Wheezy); -no_lines since Debian 7 (Wheezy); -noqli since Debian 7 (Wheezy); -output since Debian 7 (Wheezy); -pascal since Debian 7 (Wheezy); -password since Debian 7 (Wheezy); -raw since Debian 7 (Wheezy); -rmc since Debian 7 (Wheezy); -sql_dialect since Debian 7 (Wheezy); -sqlda since Debian 7 (Wheezy); -trusted since Debian 7 (Wheezy); -user since Debian 7 (Wheezy); -verbose since Debian 7 (Wheezy); -x since Debian 7 (Wheezy); -z since Debian 7 (Wheezy).

From firebird3.0-utils 3.0.11.33637.ds4-2+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.