From 30a4607980a5cc3a83a64795ec5b59627d0b8fb4 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 30 Aug 2021 17:01:02 +0200 Subject: [PATCH] Document that compiling a binary with Clang on Linux adds a `.llvm` suffix This can result in people running old binaries unexpectedly, so it's important to mention this suffix. --- development/compiling/compiling_for_x11.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/development/compiling/compiling_for_x11.rst b/development/compiling/compiling_for_x11.rst index d047f6051..1ab0cb428 100644 --- a/development/compiling/compiling_for_x11.rst +++ b/development/compiling/compiling_for_x11.rst @@ -218,5 +218,8 @@ then use the following SCons command:: scons platform=x11 use_llvm=yes use_lld=yes +After the build is completed, a new binary with a ``.llvm`` suffix will be +created in the ``bin/`` folder. + It's still recommended to use GCC for production builds as they can be compiled using link-time optimization, making the resulting binaries smaller and faster.