GBC3(1)
โจ GBC3(1) โ the manual, but make it make sense โจ
okay bestie, pull up a chair, we're reading the GBC3(1) manual together and honestly? it's giving compiler core energy ๐
๐ NAME ๐
gbc3 โ the GAMBAS Compiler. that's it, that's the name, she's simple, she's iconic ๐
๐ฆ SYNOPSIS ๐ฆ
gbc3 [options] [<project directory>]
like, options, and optionally a project directory. she's flexible fr fr.
๐ธ DESCRIPTION ๐ธ
so, Gambas is a free development environment built on a Basic interpreter that has object extensions โ think a lil mashup of Java(tm) and Visual Basic(tm), and yes the way that works is lowkey genius.
with Gambas you can, and I'm quoting the whole vibe here because it's a lot:
- quickly design your program GUI with Qt or GTK+
- access database systems like MySQL, PostgreSQL, SQlite or ODBC databases
- pilot applications with DBus
- translate your program into many languages
- create GStreamer, OpenGL or SDL applications
- and so on... like, the list keeps going, she's versatile ๐
and gbc3? she's the compiler. her whole job is taking Gambas projects and compiling them into architecture-independent bytecode. no cap. ๐ง
โจ OPTIONS โจ
one bullet per flag, we do not skip, we do not summarise, we are thorough in this house ๐ซถ
-a,--allโ compile all-b,--bytecode-versionโ force a specific bytecode version-d,--output-descโ output class description files for the IDE-e,--translate-errorsโ display translatable error messages-F,--form <form file>โ convert a form file into code and print it-g,--debugโ add debugging information-h,--helpโ display help and exit-j,--jobs <count>โ number of background jobs (default:<number of CPU cores>)-L,--licenseโ display license-n,--default-namespace <namespace>โ default namespace for exported classes-p,--two-passโ two-pass compilation to detect more errors-q --quietโ do not print anything if compilation succeeds-r,--root <directory>โ gives the gambas installation directory-s,--swapโ swap endianness-t,--translateโ output translation files-v,--verboseโ verbose output-V,--versionโ display version-w,--warningsโ display warnings-x,--execโ define the'Exec'preprocessor constant
๐ฅ COMPILER FLAGS ๐ฅ
these ones are the -f girlies, each one a whole personality:
-f check-prefixโ check the prefix of variables if warnings are enable-f public-moduleโ module symbols are public by default-f public-controlโ form controls are public
๐ AVAILABILITY ๐
the Gambas website is at: https://gambaswiki.org/website/
the Gambas source code is available at: https://gitlab.com/gambas/gambas/
the documentation about the language is at: https://gambaswiki.org/wiki
๐ REPORTING BUGS ๐
found a bug? report bugs to http://gambaswiki.org/bugtracker โ do it, she deserves to be fixed ๐
๐ COPYRIGHT ๐
Copyrightยฉ Benoรฎt Minisini <benoit.minisini@gambas-basic.org>;
this is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
okay that's the whole page, you read it all, I'm so proud of you โญ and just so you know โ this one's dated August 2024, from the GBC3(1) manual herself. go compile something gorgeous, bestie ๐๐
๐ฆ where this page comes from
- arch rolling: gambas3-dev-tools 3.22.2-2 ยท GPL-2.0-or-later
- fedora 43: gambas3-dev-tools 3.22.1-1.fc43 ยท GPL-1.0-or-later
- ubuntu stonking: gambas3-devel 3.22.0-3 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms