Skip to content

Commit

Permalink
Documentation: add "environment switch" shell
Browse files Browse the repository at this point in the history
  • Loading branch information
anlex N authored and anlexN committed Jun 1, 2024
1 parent 118af59 commit 42af41c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions web/docs/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ The active environment is selected via the `MSYSTEM` environment variable.
Setting `MSYSTEM` to `UCRT64` and starting a login shell will put you in that
environment.

For example, `CLANG64` to `UCRT64`:

```shell
me@DESKTOP CLANG64 ~
$ echo $PATH
/clang64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/

me@DESKTOP CLANG64 ~
$ MSYSTEM=UCRT64 bash --login # or you run: `source shell ucrt64`

me@DESKTOP UCRT64 ~
$ echo $PATH
/ucrt64/bin::/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/
```

## GCC vs LLVM/Clang

These are the default compilers/toolchains used for building all packages in the
Expand Down

0 comments on commit 42af41c

Please sign in to comment.