mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-21 19:41:36 +00:00
Update compiling guide
WSL needs gcc to build the native tools (stringify, QVM tools).
This commit is contained in:
parent
aa3deb6ed1
commit
4561b7e035
1 changed files with 6 additions and 6 deletions
|
@ -32,11 +32,11 @@ There is several ways to get an MinGW-w64 build environment.
|
||||||
1. Install MSYS2 with packages: git, make, mingw-w64-i686-gcc mingw-w64-x86_64-gcc
|
1. Install MSYS2 with packages: git, make, mingw-w64-i686-gcc mingw-w64-x86_64-gcc
|
||||||
2. Open "MSYS2 MinGW 64-bit"
|
2. Open "MSYS2 MinGW 64-bit"
|
||||||
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
||||||
4. Change to the engine directory using "cd q3rally/engine"
|
4. Change to the engine directory using `cd q3rally/engine`
|
||||||
5. Run `make`
|
5. Run `make`
|
||||||
|
|
||||||
#### Cygwin
|
#### Cygwin
|
||||||
:_This was more relevant before MSYS2 was made._
|
_This was more relevant before MSYS2 was made._
|
||||||
1. Install Cygwin with packages: git, make, mingw64-i686-gcc-core, mingw64-x86_64-gcc-core
|
1. Install Cygwin with packages: git, make, mingw64-i686-gcc-core, mingw64-x86_64-gcc-core
|
||||||
2. Open "Cygwin"
|
2. Open "Cygwin"
|
||||||
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
||||||
|
@ -47,9 +47,9 @@ There is several ways to get an MinGW-w64 build environment.
|
||||||
1. Install Windows Subsystem for Linux.
|
1. Install Windows Subsystem for Linux.
|
||||||
2. Install a Linux distribution from the Windows store (e.g., Ubuntu).
|
2. Install a Linux distribution from the Windows store (e.g., Ubuntu).
|
||||||
3. Open the start menu entry for the distribution (e.g., Ubuntu).
|
3. Open the start menu entry for the distribution (e.g., Ubuntu).
|
||||||
4. Install Git, Make, and MinGW-w64 packages, for Ubuntu run: `sudo apt install git make mingw-w64`
|
4. Install Git, Make, GCC, and MinGW-w64 packages, for Ubuntu run: `sudo apt install git make gcc mingw-w64`
|
||||||
5. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
5. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
||||||
6. Change to the engine directory using "cd q3rally/engine"
|
6. Change to the engine directory using `cd q3rally/engine`
|
||||||
7. Run `make PLATFORM=mingw32`
|
7. Run `make PLATFORM=mingw32`
|
||||||
|
|
||||||
It's possible to compile for Linux under WSL using `make` or `./make-linux-portable.sh`. Compiling for macOS using osxcross is not supported under WSL as of writting.
|
It's possible to compile for Linux under WSL using `make` or `./make-linux-portable.sh`. Compiling for macOS using osxcross is not supported under WSL as of writting.
|
||||||
|
@ -57,7 +57,7 @@ It's possible to compile for Linux under WSL using `make` or `./make-linux-porta
|
||||||
### Linux
|
### Linux
|
||||||
1. Install `git make gcc libsdl2-dev` packages for your Linux distribution.
|
1. Install `git make gcc libsdl2-dev` packages for your Linux distribution.
|
||||||
2. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
2. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
||||||
3. Change to the engine directory using "cd q3rally/engine"
|
3. Change to the engine directory using `cd q3rally/engine`
|
||||||
4. Run `make`
|
4. Run `make`
|
||||||
|
|
||||||
To make a release which includes SDL2 run: `./make-linux-portable.sh x86_64` (also with x86).
|
To make a release which includes SDL2 run: `./make-linux-portable.sh x86_64` (also with x86).
|
||||||
|
@ -68,7 +68,7 @@ To make a release which includes SDL2 run: `./make-linux-portable.sh x86_64` (al
|
||||||
1. Install Xcode from the AppStore (the GUI is optional, only the command-line tools are required).
|
1. Install Xcode from the AppStore (the GUI is optional, only the command-line tools are required).
|
||||||
2. Open Terminal app.
|
2. Open Terminal app.
|
||||||
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
3. Get the Q3Rally source code with `git clone https://github.com/Q3Rally-Team/q3rally.git`
|
||||||
4. Change to the engine directory using "cd q3rally/engine"
|
4. Change to the engine directory using `cd q3rally/engine`
|
||||||
5. Run `make`
|
5. Run `make`
|
||||||
|
|
||||||
To create an AppBundle:
|
To create an AppBundle:
|
||||||
|
|
Loading…
Reference in a new issue