hybrid-dev(1)

πŸ’– hybrid-dev(1) β€” the vibe πŸ’–

okay bestie, welcome to the General Commands Manual page for hybrid-dev(1). pull up a chair, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

mbuild-hybrid β€” literally the easiest way to build ircd-hybrid v7 modules from source πŸ› οΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

mbuild-hybrid [-s sourcefile]  [-p installpath]  [-o buildopts]

πŸ¦‹ DESCRIPTION πŸ¦‹

so mbuild-hybrid is that girl πŸ’… β€” she takes all the pain out of compiling ircd-hybrid modules from source. you can tell her where to dump the output and what CFLAGS to build with, and the defaults for both of those are down in OPTIONS if you wanna peek. πŸ‘€

and like… it goes without saying, but we're saying it anyway: mbuild-hybrid will NOT run without something in the -s option. no sourcefile, no build. that's the whole deal. 😭


🌸 OPTIONS 🌸

  • -s sourcefile β€” the source file you're building the module with, duh 🫢. the output filename is gonna be this same name, but with s/.c/.so/ applied. so yes, your baby gets a glow-up into a shared object. iconic.
  • -p installpath β€” where the module gets installed 🏠. this defaults to /usr/lib/ircd-hybrid/modules, which is the module search path for Debian's ircd-hybrid. (yes, "defauls" β€” we keep the typo energy, no notes. πŸ’€)
  • -o buildopts β€” your build options πŸŽ›οΈ. this one should be quoted if it's more than one argument! whatever you put here gets appended to the default CFLAGS, which are simply '-g -Wall '. that's it, that's the whole default. lowkey minimal but she works.

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHOR πŸ’œ

this manual page was written by Joshua Kwan <joshk@triplehelix.org> and is licensed under the GNU General Public License, version 2 or later. periodt. ⭐


ok and that's the whole page bestie, no cap 🧚

and finally β€” a lil sign-off from us: this was hybrid-dev(1) from the General Commands Manual. go build something cute πŸ”₯πŸ’–βœ¨