mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 14:35:58 +01:00
move note about compiler
This commit is contained in:
parent
82eb59d6a1
commit
3f9b660a37
1 changed files with 7 additions and 5 deletions
|
@ -264,6 +264,13 @@ For updating later on, you can overwrite the binaries (hyprctl, hyprland, hyprpm
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
|
|
||||||
|
{{< callout type=info >}}
|
||||||
|
|
||||||
|
Please note that Hyprland uses the C++26 standard, so both your compiler and your
|
||||||
|
C++ standard library has to support that (`gcc>=14` or `clang>=18`).
|
||||||
|
|
||||||
|
{{< /callout >}}
|
||||||
|
|
||||||
{{% details title="Arch" closed="true" %}}
|
{{% details title="Arch" closed="true" %}}
|
||||||
|
|
||||||
```plain
|
```plain
|
||||||
|
@ -300,11 +307,6 @@ export CC=gcc CXX=g++ LDFLAGS="-static-libstdc++ -static-libgcc"
|
||||||
|
|
||||||
refer to the Ubuntu tab above
|
refer to the Ubuntu tab above
|
||||||
|
|
||||||
Please note that Hyprland uses the C++23 standard, so both your compiler and your
|
|
||||||
C++ library has to support that (`gcc>=13.0.0` or `clang>=15`). On Clang-based
|
|
||||||
systems libc++ may be used by default, so until libc++ supports C++23 you have
|
|
||||||
to pass `-stdlib=libstdc++` or switch to GCC.
|
|
||||||
|
|
||||||
{{% /details %}}
|
{{% /details %}}
|
||||||
|
|
||||||
{{< callout type=warning >}}
|
{{< callout type=warning >}}
|
||||||
|
|
Loading…
Reference in a new issue