1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

Toolchain+Ports: Update GCC to 13.1.0

This is a mostly straight-forward rebase of our patches on top of
13.1.0. The spec files needed a change, as GCC no longer supports STABS
debug information, but we were building GCC with support for it.

Highlights of this release include static `operator()`, The Equality
Operator You Are Looking For and extended `constexpr` support.
This commit is contained in:
Daniel Bertalan 2023-05-03 20:48:54 +02:00 committed by Andreas Kling
parent 4809f60e2d
commit 07918b79b7
11 changed files with 45 additions and 46 deletions

View file

@ -13,11 +13,11 @@ CompileFlags:
Add:
- "-D__serenity__"
- "-UNO_TLS"
- "-I/path/to/serenity/Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/12.1.0"
- "-I/path/to/serenity/Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/12.1.0/x86_64-pc-serenity"
- "-I/path/to/serenity/Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/13.1.0"
- "-I/path/to/serenity/Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/13.1.0/x86_64-pc-serenity"
```
You will need to change `/path/to/serenity` and change `12.1.0` to
You will need to change `/path/to/serenity` and change `13.1.0` to
whatever your GCC toolchain version at the time is.
Run cmake (`Meta/serenity.sh run` or similar) at least once for this

View file

@ -34,7 +34,7 @@ First, make sure you have a working toolchain and can build and run SerenityOS.
Userland/Libraries/LibC/
Userland/Libraries/LibSystem/
Userland/Services/
Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/12.2.0
Toolchain/Local/x86_64/x86_64-pc-serenity/include/c++/13.1.0
Build/x86_64/
Build/x86_64/Userland/
Build/x86_64/Userland/Libraries/