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--cflagsand--libsoptions. It's also used for the exec prefix if--exec-prefixwasn't specified. β οΈ This option must be specified before any--libsor--cflagsoptions.--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--cflagsand--libsoptions. β οΈ This option must be specified before any--libsor--cflagsoptions.
Order matters here, fr fr. Put your--prefix/--exec-prefixfirst 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 π
- e-mail:
enlf@users.sourceforge.net - www:
http://xmedcon.sourceforge.net
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
- debian bookworm: libmdc-dev 0.23.0-gtk3+dfsg-1+deb12u2 Β· GPL-2.0-or-later
- debian trixie: libmdc-dev 0.25.1-gtk3+dfsg-1 Β· GPL-2.0-or-later
- fedora 43: xmedcon 0.24.1-1.fc42 Β· LGPL-2.1-or-later AND LicenseRef-Callaway-Copyright-only AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD and libtiff
- fedora 43: xmedcon 0.25.3-1.fc43 Β· LGPL-2.1-or-later AND LicenseRef-Callaway-Copyright-only AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD and libtiff
- fedora 44: xmedcon 0.25.3-2.fc44 Β· LGPL-2.1-or-later AND LicenseRef-Callaway-Copyright-only AND LicenseRef-Callaway-MIT AND LicenseRef-Callaway-BSD and libtiff
- nixos 26.05: xmedcon 0.26.2
- nixpkgs unstable: xmedcon 0.26.2
- ubuntu jammy: libmdc-dev 0.21.2+dfsg-1 Β· GPL-2.0-or-later
- ubuntu noble: libmdc-dev 0.23.0-gtk3+dfsg-1.1build3 Β· GPL-2.0-or-later
- ubuntu questing: libmdc-dev 0.25.1-gtk3+dfsg-1
- ubuntu resolute: libmdc-dev 0.25.1-gtk3+dfsg-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: libmdc-dev 0.26.1-gtk3+dfsg-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms