man(1)
π 4glpc β¨ Aubit 4GL compiler π
okay bestie, so this is the manual page for 4glpc, the Aubit 4GL compiler π¦ and ngl it's giving wrapper energy. 4glpc doesn't do all the heavy lifting itself. It's basically the hype girl that calls in the other compilers: 4glc, gcc, and esql/c π
πΈ NAME πΈ
4glpc β Aubit 4GL compiler π§
β¨ SYNOPSIS β¨
4glpc sourcefile.type [...] [options] executablename.4ge
4glpc sourcefile.4gl -c -o objectname.o
4glpc sourcefile.4gl -o executablename.4ge
π DESCRIPTION π
okay so the vibe is this: 4glpc is really just a wrapper around the 4glc, gcc, and esql/c compilers π. Every file you pass on the command line gets its type checked, and so does the output object type. Then the relevant compilers get called in stages to make your output happen. It's lowkey so clean π«Ά
For example, bestie:
4glpc myprog.4gl -o myprog.4ge
π OPTIONS π
-Lβ literally passed straight to the C compiler π (tells it where libraries live π)-oβ specify the output file π―-cβ compile only, no linking π ββοΈ-eβ just generate the.cfile π-Iβ passed directly to the C compiler too π (tells it where include files can be found ποΈ)-G,--globalsβ generate the globals map file πΊοΈ-S,--silentβ no output other than errors π€«-V,--verboseβ verbose output, with-V1through-V5for increasing levels of verbosity π’-N name,--namespace nameβ prefix all functions withname(defaultaclfgl_) π·οΈ-n,--noprefixβ remove any prefix from function names (same as-N '') π§Ή-v,--versionβ show compiler version and exit π’-f,--version_fullβ show full compiler version and details π-h,-?,--helpβ show the help and exit π-t TYPE,--lextype TYPEβ output language:TYPE=C(default),EC, orPERLπ-td TYPE,--lexdialect TYPEβ specify the output language dialect for ESQL/C generation, eitherINFORMIXorPOSTGRESπ-k,--keepβ keep intermediate files (this is the default) π¦-K,--cleanβ clean intermediate files when done π§½-s[01],--stack_trace [01]β include the stack trace in file:0means don't generate,1means generate (default) π₯--use-sharedβ compile with shared libraries π€--use-staticβ compile with static libraries π§-echoβ don't really compile (ignored for now) π-d dbname,--database dbnameβ specify an alternative database name to use for compilation. note it ignores whatever is specified in the.4glποΈ-4,--system4glβ used internally. ignores any clashes with builtin library names β οΈ--mapβ generate an unload file with some 4GL code metrics π--as-dllβ generate a shared library as the output type π--make-compileβ compare file times and only recompile where required (very simplistic β±οΈ)
π¦ SEE ALSO π¦
- http://aubit.com/aubit4gl/manuals/aubman.pdf π
- http://aubit.com/aubit4gl/manuals/aubitqref.pdf π
bestie that's the whole tea β this page was version 1.0, dated 17 Aug 2022 π you're literally going to slay this compiler π β¨
π¦ where this page comes from
- fedora 43: aubit4gl 1.6.1.p5-3.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-1.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-3-Clause
- fedora 43: aubit4gl 1.6.3.p1-1.fc43 Β· GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-1.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-3-Clause
- fedora 44: aubit4gl 1.6.3.p1-3.fc44 Β· GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-1.0-or-later AND LGPL-2.0-or-later AND MIT AND BSD-3-Clause
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms