ecppc(1)
π ecppc(1) β the compiler for ecpp(7) π
okay bestie, welcome to the ecppc manual page, straight out of the Tntnet users guide β¨
β¨ NAME β¨
ecppc β compiler for ecpp(7) π¦
β¨ SYNOPSIS β¨
ecppc [-bhszvtM] [-s-] [-o filename] [-n name] [-m mimetype]
[--mimetypes filename] [-I dir] [-l log-category] filename
ecppc -bb filename ...
ecppc [OPTION]
β¨ DESCRIPTION β¨
So, ecppc is literally the compiler for the ecpp-language, no cap. And what is ecpp? It's a template language that lets you embed C++-code right into HTML so you can use it in tntnet(8) π
. ecppc generates a C++-class from an ecpp template, periodt.
It can also compile binary data into a C++-class, which makes it possible to integrate them in a tntnet application. iconic behavior honestly π
β¨ OPTIONS β¨
-bβ turns on binary-mode π.ecppcdoes not go looking for ecpp-tags here; instead it creates a class, which just copies the data. simple, clean, slay.-bbβ turns on multi-binary-mode π. So here's the tea: every binary-file has some overhead, when packed into a tntnet-application. And this overhead can be quite significant, when binary-files are small, like small icons in a web application π. To reduce this overhead, multiple binaries can be packed into a single class, which removes the per-binary overhead completely. obsessed.
When the component is called, it uses the path-info-parameter (request.getPathInfo()) from the request, to decide, which binary to send. If no filename matches the path-info, processing is declined. The binaries need not be of same mime-type, since the mime-type is looked automatically from the mime-database by file-extension of the source-file π«
-ifilename β in multi binary mode (option-bb) filenames can be read from the file specified with this option. This can be useful when the command line gets too long or just for convenience π-Idir β search include-files in directory. This option can be passed multiple times. All specified directories are searched in turn for include-files π-llog-category β set log category. Default iscomponent.componentname.-Lβ disable generation of#line-directives π-mmimetype β set mimetype of output. This is the mimetype, sent by the component to the browser in theContent-Type- header. Without this parameter the mimetype is looked up from the mime-database of your system using the file-extension of the source-file π¦--mimetypesfile β read mimetypes from file (default:/etc/mime.types).-Mβ this disables normal processing and prints just the ecpp-dependencies from this component. The output can be included into aMakefile. Ecpp-dependencies are introduces by the<%include>-tag π§-C,--cmakeβ prints ecpp dependencies in a syntax, whichcmakeunderstands π-nname β set the name of the component. Normally this is derived from the source-file-name by removing the path and.ecpp-extension.-ofilename β write the generated file to the specified file instead of deriving the filename from the source-file-name. The outputfilename is normally the source-file where the extension is replaced by.cpp.-pβ keep path name when deriving name of component from input file name πΈ-sβ generate singleton. Normallyecppcdecides automatically, if the template is suitable for a singleton. This option forceecppcto generate a singleton β-s-β do not generate a singleton π-vβ enable verbose mode. This prints additional information about the processing on the standard-output π’-zβ compress the data in the component. Compressed data is automatically decopressed on first use. This reduces the code-size, but slightly slows down the first call of the component π«Ά-h,--helpβ display this information π-V,--versionβ display program version β¨
β¨ AUTHOR β¨
This manual page was written by Tommi MΓ€kitalo β¨tommi@tntnet.orgβ© π
β¨ SEE ALSO β¨
and that's the whole page bestie, go compile something iconic π β¨
okay so the very last lil sign-off: this came from Tntnet, dated 2006-07-23, and yeah the manual is ecppc(1) π bye ily π«Ά
π¦ where this page comes from
- debian trixie: libtntnet-dev 3.0-4 Β· LGPL-2.1-or-later
- fedora 43: tntnet 1:3.0-14.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later AND Zlib
- fedora 43: tntnet 1:3.0-14.fc43 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later AND Zlib
- fedora 44: tntnet 1:3.0-15.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later AND Zlib
- fedora 44: tntnet 1:3.0-15.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND GPL-2.0-or-later AND Zlib
- nixos 26.05: tntnet 3.0
- ubuntu noble: libtntnet-dev 3.0-3.1build1 Β· LGPL-2.1-or-later
- ubuntu questing: libtntnet-dev 3.0-4
- ubuntu resolute: libtntnet-dev 3.0-4build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libtntnet-dev 3.0-4build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms