=head1 NAME

gpre - Firebird source pre-processor

=head1 SYNOPSIS

=over

=item B<gpre> [I<option>...] I<input> I<output>

=back

=head1 DESCRIPTION

B<gpre> is a source pre-processor for easier writing of programs working with
the raw Firebird API. It supports multiple source languages. Using B<gpre>, you
can mix special SQL-like language with the normal program source.

=head1 OPTIONS

=over

=item B<-ada>

Source is an Ada program.

=item B<-handles> I<package name>

Ada only. Specifies the handles package.

=item B<-c>

Source is a C program.

=item B<-cxx> | B<-cplusplus>

Source is a C++ program.

=item B<-database> I<name>

Pre-define database connection.

=item B<-d_float>

Generate C<blr_d_float> for doubles.

=item B<-either_case>

Accept upper or lower case DML in C.

=item B<-fetch_password>

Fetch password from file.

=item B<-charset> I<string>

Default character set & format.

=item B<-lang_internal>

Set some variables to defaults usable for internal Firebird use.

=item B<-manual>

Do not automatically ATTACH to a database.

=item B<-no_lines>

Do not generate C debug lines.

=item B<-output>

Send output to standard out

=item B<-password> I<string>

Default password.

=item B<-raw>

Generate unformatted binary BLR.

=item B<-sql_dialect> I<value>

SQL dialect to use.

=item B<-sqlda> N

Deprecated feature.

=item B<-user> I<name>

Default user name.

=item B<-verbose>

Verbose output to stderr.

=item B<-x>

External database (used with B<-database>).

=item B<-cob>

Source is a COBOL program.

=item B<-ansi>

Generate ANSI85 compatible COBOL code.

=item B<-rmc>

RM/Cobol

=item B<-z>

Print software version.

=item B<-base> I<dir>

Base directory for compile-time database.

=item B<-dfm> I<format>

COBOL date format

=item B<-noqli>

Supress QLI syntax.

=item B<-fortran>

Source is a FORTRAN program.

=item B<-pascal>

Source is a Pascal program.

=item B<-trusted>

Use trusted authentication.

=back

=head1 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.
