Skip to content

Commit ff870ca

Browse files
committed
BUILDING: Bump gcc/clang versions to the ones used in rpcs3-docker
gcc: 11 -> 13 clang: 12 -> 17
1 parent 52d91c4 commit ff870ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

BUILDING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Other instructions may be found [here](https://wiki.rpcs3.net/index.php?title=Bu
2121

2222
These are the essentials tools to build RPCS3 on Linux. Some of them can be installed through your favorite package manager.
2323

24-
* Clang 12+ or GCC 11+
24+
* Clang 17+ or GCC 13+
2525
* [CMake 3.28.0+](https://www.cmake.org/download/)
2626
* [Qt 6.6.3](https://www.qt.io/download-qt-installer)
2727
* [Vulkan SDK 1.3.268.0](https://vulkan.lunarg.com/sdk/home) (See "Install the SDK" [here](https://vulkan.lunarg.com/doc/sdk/latest/linux/getting_started.html)) for now future SDKs don't work. You need precisely 1.3.268.0.
@@ -42,16 +42,16 @@ Ubuntu is usually horrendously out of date, and some packages need to be downloa
4242

4343
Ubuntu usually does not have a new enough Qt package to suit rpcs3's needs. There is currently no PPA available to work around this.
4444

45-
##### GCC 11.x installation
45+
##### GCC 13.x installation
4646

47-
If the `gcc-11` package is not available on your system, use the following commands
47+
If the `gcc-13` package is not available on your system, use the following commands
4848
```
4949
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
5050
sudo apt-get update
51-
sudo apt-get install gcc-11 g++-11
51+
sudo apt-get install gcc-13 g++-13
5252
```
5353

54-
You can either use `update-alternatives` to setup `gcc-11`/`g++-11` as your default compilers or prefix any `cmake` command by `CXX=g++-11 CC=gcc-11 ` to use it.
54+
You can either use `update-alternatives` to setup `gcc-13`/`g++-13` as your default compilers or prefix any `cmake` command by `CXX=g++-13 CC=gcc-13 ` to use it.
5555

5656
##### Vulkan SDK
5757

@@ -122,7 +122,7 @@ Afterwards:
122122
While still in the project root:
123123

124124
1) `cd .. && mkdir --parents rpcs3_build && cd rpcs3_build`
125-
2) `cmake ../rpcs3/ && make` or `CXX=g++-11 CC=gcc-11 cmake ../rpcs3/ && make` to force these compilers
125+
2) `cmake ../rpcs3/ && make` or `CXX=g++-13 CC=gcc-13 cmake ../rpcs3/ && make` to force these compilers
126126
3) Run RPCS3 with `./bin/rpcs3`
127127

128128
When using GDB, configure it to ignore SIGSEGV signal (`handle SIGSEGV nostop noprint`).

0 commit comments

Comments
 (0)