User Tools

Site Tools


compiling_on_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
compiling_on_linux [2019/10/27 13:00]
tapir [Developer build options]
compiling_on_linux [2020/02/08 05:32]
toxix [Optional: Compile with Clang] Update clang to version 6.0 it's also in ubuntu 18.04 lts, but clang 3.6 throws an error with current mixx code, so better to put the example with a working version.
Line 224: Line 224:
   * Better tools for analyzing problems in your program ([[http://​clang.llvm.org/​docs/​AddressSanitizer.html|Address Sanitizer]],​ [[http://​clang.llvm.org/​docs/​ThreadSanitizer.html|Thread Sanitizer]],​ [[http://​clang.llvm.org/​docs/​MemorySanitizer.html|MemorySanitizer]],​ etc.)   * Better tools for analyzing problems in your program ([[http://​clang.llvm.org/​docs/​AddressSanitizer.html|Address Sanitizer]],​ [[http://​clang.llvm.org/​docs/​ThreadSanitizer.html|Thread Sanitizer]],​ [[http://​clang.llvm.org/​docs/​MemorySanitizer.html|MemorySanitizer]],​ etc.)
  
-On Debian, Clang is provided as a package with a version number attached. Using 3.6 as an example, install it like this:+On Debian, Clang is provided as a package with a version number attached. Using 6.0 as an example, install it like this:
 <​code>​ <​code>​
-sudo apt-get install clang-3.6+sudo apt-get install clang-6.0
 </​code>​ </​code>​
  
-To compile Mixxx using Clang 3.6, before running ''​scons'':​+To compile Mixxx using Clang 6.0, before running ''​scons'':​
  
 <​code>​ <​code>​
-export CC=clang-3.+export CC=clang-6.0 
-export CXX=clang++-3.6+export CXX=clang++-6.0
 </​code>​ </​code>​
  
compiling_on_linux.txt · Last modified: 2020/04/02 18:10 by be.ing