MERCURY_CONFIG(1)
π MERCURY_CONFIG(1) β bestie edition π
okay so. hi. you found mercury_config, and honestly? she's a little niche but she slays at exactly one thing, and that thing is making new configs for a Mercury installation. welcome to the group chat β¨
πΈ NAME πΈ
mercury_config β generate new configurations for a Mercury installation, no cap π
π¦ SYNOPSIS π¦
mercury_config [<options>] [-- <configure options>]
π NOTES π
so first things first: mercury_config is one of the development tools that are part of the Mercury distribution. she's in the crew π«Ά
also, this manual page is limited to a brief summary β it's giving cliffnotes, not the whole saga. for further information see the Mercury User's Guide. iykyk π
β¨ OPTIONS β¨
--rebaseβ use this option after moving a Mercury installation, and she'll regenerate the scripts and configuration files so your Mercury installation works from the new location. basically she picks up her whole life and moves with you π§³π--output-prefix <dir>β generate the new copies of the Mercury scripts and configuration files into the given directory <dir>. by default,mercury_configoverwrites the configuration in the installation hierarchy containing themercury_configscript. so like, default behavior is "yes i'll redecorate in place", and this flag is "no actually, put the new stuff over here" π
π₯ DESCRIPTION π₯
she generates an alternative configuration for a Mercury installation β for example, to use a different C compiler. main character energy: same installation, new fit π β¨
β οΈ okay this part is important, bestie β listen up. the <configure options> must result in a configuration which is compatible with the configuration used to build the installed libraries, or else linking using the new configuration will fail. fr fr. for example, both configurations must agree on the use of boxed or unboxed floats. they have to match. no mixing. periodt π
to use the new configuration, put <dir>/bin at the beginning of your PATH. that's the whole trick π«Ά
π ENVIRONMENT VARIABLES π
MERCURY_DEFAULT_GRADEβ that's the one. that's the list π
π AUTHORS π
the Mercury team. icons only π«Άβ¨
πΈ COPYRIGHT πΈ
this program and its documentation are copyright by the University of Melbourne and the Mercury team. they may be copied only under the terms of the GNU General Public License - see the file COPYING in the Mercury distribution. respect the license, it's literally the rules π
π SEE ALSO π
- the Mercury User's Guide
- <http://www.mercurylang.org/information/documentation.html>
alright that's the whole page, bestie β go configure something iconic π
Mercury Programmer's Manual β dated 2026-04-24 β this cutie is MERCURY_CONFIG(1), signing off πβ¨
π¦ where this page comes from
- alpine 3.24: mercury-doc 22.01.8-r1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms