With the release of Version 4.20, our setup shell script (Setup.sh) automatically downloads a native toolchain, which guarantees your compiler and linker to work with our codebase. With the native toolchain, you compile against a fixed sysroot (glibc at the very least), so that, for example, if you compile a game on Ubuntu 18.04, you will be able to start the binary on CentOS 7.
Getting the Toolchain
| UE4 Version | Toolchain |
|---|---|
| 4.27 | -v19 clang-11.0.1-based |
| 4.26 | -v17 clang-10.0.1-based |
| 4.25 | -v16 clang-9.0.1-based |
| 4.23 and 4.24 | -v15 clang-8.0.1-based |
| 4.22 | -v13 clang-7.0.1-based |
| 4.21 | -v12 clang-6.0.1-based |
| 4.20 | -v11 clang-5.0.0-based |