MEDCON(1)

πŸŽ€ NAME πŸŽ€

xmedcon-config β€” a lil script that tells you everything about the version of (X)MedCon you've got installed πŸ’–


✨ SYNOPSIS ✨

xmedcon-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
       [--libs] [--cflags]

🌸 DESCRIPTION 🌸

Okay so bestie, xmedcon-config is the tool you reach for when you need to know the compiler and linker flags to build programs that use the (X)MedCon library. It's giving "personal assistant for your build system" honestly.

It's also used internally by the .m4 macro that ships with GNU autoconf. So yes, it's working behind the scenes too, main character energy both onstage and backstage πŸ’…


πŸ’… OPTIONS πŸ’…

  • --version β€” prints the version of (X)MedCon you've currently got installed, straight to standard output. Iconic, simple, slays.
  • --libs β€” prints the linker flags you need to link a program that depends on (X)MedCon. Your linker will be so happy.
  • --cflags β€” prints the compiler flags you need to compile a program that depends on (X)MedCon. Feed these to your compiler and watch it thrive ✨
  • --prefix=PREFIX β€” if you pass this, it uses PREFIX instead of the installation prefix that (X)MedCon was built with when it computes the output for the --cflags and --libs options. It's also used for the exec prefix if --exec-prefix wasn't specified. ⚠️ This option must be specified before any --libs or --cflags options.
  • --exec-prefix=PREFIX β€” if you pass this, it uses PREFIX instead of the installation exec prefix that (X)MedCon was built with when it computes the output for the --cflags and --libs options. ⚠️ This option must be specified before any --libs or --cflags options.
Order matters here, fr fr. Put your --prefix / --exec-prefix first or the flags won't pick them up. No cap.

πŸ‘€ SEE ALSO πŸ‘€


🫢 AUTHOR 🫢

The (X)MedCon project was originally written by Erik Nolf (aka eNlf) for the former PET-Centre at Ghent University (Belgium). An absolute legend, honestly 🌈


And that's a wrap on the MEDCON(1) page, which lives in the General Commands Manual section of the manual set πŸ’œ Go forth and compile something cute. Byeee! πŸ¦‹

πŸ“¦ where this page comes from