Lines Matching +full:libunwind +full:- +full:build

4 Building libunwind
15 On Mac OS, the easiest way to get this library is to link with -lSystem.
16 However if you want to build tip-of-trunk from here (getting the bleeding
19 The basic steps needed to build libunwind are:
21 #. Checkout LLVM, libunwind, and related projects:
23 * ``cd where-you-want-llvm-to-live``
24 * ``git clone https://github.com/llvm/llvm-project.git``
26 #. Configure and build libunwind:
30 Clang is the preferred compiler when building and using libunwind.
32 * ``cd where you want to build llvm``
33 * ``mkdir build``
34 * ``cd build``
35 * ``cmake -G <generator> -DLLVM_ENABLE_RUNTIMES=libunwind [options] <llvm-monorepo>/runtimes``
37 For more information about configuring libunwind see :ref:`CMake Options`.
39 * ``make unwind`` --- will build libunwind.
40 * ``make check-unwind`` --- will run the test suite.
42 Shared and static libraries for libunwind should now be present in llvm/build/lib.
44 #. **Optional**: Install libunwind
48 select a safe place to install libunwind.
50 * ``make install-unwind`` --- Will install the libraries and the headers
59 brief explanation and LLVM-specific notes. For full documentation, check the
60 CMake docs or execute ``cmake --help-variable VARIABLE_NAME``.
63 Sets the build type for ``make`` based generators. Possible values are
65 the user sets the build type with the IDE settings.
72 The C++ compiler to use when building and testing libunwind.
75 .. _libunwind-specific options:
77 libunwind specific options
78 --------------------------
84 Toggle assertions independent of the build mode.
90 Compile with -Wpedantic.
96 Compile with -Werror
102 Build libunwind as a shared library.
108 Build libunwind as a static archive.
114 Enable cross-platform unwinding support.
126 Build libunwind with threading support.
132 Path where built libunwind libraries should be installed. If a relative path,