Is the situation of "MSYS is CYGWIN" documented? #6230
smacdonald-kai
started this conversation in
General
Replies: 1 comment
-
|
As far as I know, this is not really documented. The closest is probably https://www.msys2.org/docs/symlinks/. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some time ago I became aware of the
export MSYS=winsymlinks:nativestrictpart of the [ symlinks on Windows ] situation, and added this to my$HOME/.bashrcas one does.Recently I've helped figure out an issue ( #5303 ) which has a workaround of
export MSYS=disable_pconwhich I also want to add to my.bashrc. The question is, what is the format of theMSYSenvironment variable? Do I have multiple lines of settings? Is it a single line with values comma-delimited? I was unable to locate any documentation about it. :-(So I took to looking at the source code, as one does. I found https://github.com/git-for-windows/msys2-runtime/blob/6abc3bb22b40096e4a61b02e260e6934d82539b9/winsup/cygwin/environ.cc#L204 which strongly implies that
MSYSis justCYCGWIN( https://cygwin.com/cygwin-ug-net/using-cygwinenv.html ). Which means the answer to my question is "It's space-delimited".Did I miss where this equivalence is documented?
If not, can it be added to the documentation somewhere? Even if it's just an FAQ entry?
Beta Was this translation helpful? Give feedback.
All reactions