GPRE(1)

πŸ’– GPRE(1) πŸ’–

like, welcome to the gpre page, bestie β€” a manual from the Firebird documentation collection and omg she ate ✨


✨ NAME ✨

gpre β€” the Firebird source pre-processor πŸ¦‹


✨ SYNOPSIS ✨

gpre [option...] input output

✨ DESCRIPTION ✨

okay so real talk: gpre is a source pre-processor that makes writing programs against the raw Firebird API soooo much easier, no cap. she supports multiple source languages, which is lowkey iconic. the whole vibe is that you get to mix a special SQL-like language right into your normal program source β€” like, both of them, together, in the same file. it's giving multilingual queen πŸ‘‘


✨ OPTIONS ✨

  • -ada β€” your source is an Ada program.
  • -handles package name β€” Ada only, bestie. this one specifies the handles package.
  • -c β€” your source is a C program.
  • -cxx | -cplusplus β€” your source is a C++ program.
  • -database name β€” pre-define that database connection before anything else even happens, periodt.
  • -d_float β€” generates "blr_d_float" for doubles πŸ’…
  • -either_case β€” accepts upper or lower case DML in C, so you can type however your heart desires.
  • -fetch_password β€” fetches the password from a file.
  • -charset string β€” the default character set & format.
  • -lang_internal β€” sets some variables to defaults that are usable for internal Firebird use πŸ‘‘
  • -manual β€” do not automatically ATTACH to a database.
  • -no_lines β€” do not generate C debug lines.
  • -output β€” sends output to standard out.
  • -password string β€” the default password.
  • -raw β€” generates unformatted binary BLR.
  • -sql_dialect value β€” which SQL dialect to use.
  • -sqlda N β€” deprecated feature. ⚠️ yeah, she's old news, this one.
  • -user name β€” the default user name.
  • -verbose β€” verbose output, sent to stderr.
  • -x β€” external database. used together with -database.
  • -cob β€” your source is a COBOL program.
  • -ansi β€” generates ANSI85 compatible COBOL code.
  • -rmc β€” RM/Cobol.
  • -z β€” prints the software version. πŸŽ€
  • -base dir β€” the base directory for the compile-time database.
  • -dfm format β€” the COBOL date format.
  • -noqli β€” suppresses QLI syntax.
  • -fortran β€” your source is a FORTRAN program.
  • -pascal β€” your source is a Pascal program.
  • -trusted β€” uses trusted authentication. πŸ”

Copyright (C) Damyan Ivanov, 2009. πŸ’œ

This manpage was written by Damyan Ivanov for the Debian project, but it may be used by others too β€” sharing is caring, fr fr. Permission is granted to use this document, with or without modifications, provided that this notice is retained. and honestly? if we ever meet some day, and you think this stuff is worth it, you can buy me a beer in return πŸ“ (that's literally in the license, not me being thirsty)


and that's the whole page, bestie 🫢 this one's from Firebird 4.0, dated 2026-06-28 β€” go forth and pre-process, you absolute icon πŸ’…βœ¨

πŸ“¦ where this page comes from