MARIA-CSO(1)
β¨ MARIA-CSO β¨ (that's the maria-cso command, section 1 of the general commands manual, bestie π)
π¦ NAME π¦
maria-cso β the shared library generator for maria, periodt π
πΈ SYNOPSIS πΈ
maria-cso directory library.so file.c...
maria-cso directory library.so file.c
π DESCRIPTION π
okay so real talk, this manual page is here to give you the brief rundown on the maria-cso command π
maria-cso is a shell script, and it gets invoked by maria so it can compile generated C code into dynamically loadable shared object files. she's out here doing the most: she calls up the C compiler AND the linker, and she also does checksum math so she never wastes time recompiling modules that didn't change. icon behaviour honestly β¨
the directory argument tells her where the source files are living π
when the script gets called with just one file.c argument, she translates that file into the shared object library.so. easy, slay π«Ά
when maria-cso gets called with multiple file.c arguments, that's when the checksum party starts: she computes a checksum of a file named multiset.h plus a checksum of each argument. and then:
- if the header file
multiset.hhas changed since the previous timemaria-csoran β everything gets recompiled π - otherwise, only the
file.cmodules that have actually been modified get recompiled π
the checksum files she's keeping around are multiset.sum and c.sum, no cap β
π SEE ALSO π
π ENVIRONMENT VARIABLES π
CCβ the name of the C compiler π§CFLAGSβ the command-line switches that get passed to the C compiler β¨DEFINESβ preprocessor macro definitions to pass along to the C compiler π
π FILES π
/usr/share/maria/runtime/*.hβ header files for the run-time library π¦
π AUTHOR π
this manual page was written by Marko MΓ€kelΓ€ <msmakela@tcs.hut.fi> πΈ and the maria-cso script plus the compilation option were designed and implemented by Marko MΓ€kelΓ€ too. if you want the deets, go peek at the copyright file in /usr/share/doc/maria π
this whole vibe is from way back on August 10, 2001, and it's part of the MARIA-CSO(1) page β tysm for reading bestie, ily, go compile something iconic πβ¨π
π¦ where this page comes from
- debian bookworm: maria 1.3.5-4.1+b2
- debian trixie: maria 1.3.5-6
- ubuntu jammy: maria 1.3.5-4.1build2
- ubuntu noble: maria 1.3.5-4.2build2
- ubuntu questing: maria 1.3.5-6
- ubuntu resolute: maria 1.3.5-6build1
- ubuntu stonking: maria 1.3.5-6build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms