Displaying 4 results from an estimated 4 matches for "addclang".
2019 Jan 09
4
Problems trying to build LLVM
...this:
CMake Error at cmake/modules/AddLLVM.cmake:570 (target_link_libraries):
Attempt to add link library "clangAST" to target
"clangApplyReplacements"
which is not built in this directory.
Call Stack (most recent call first):
tools/clang/cmake/modules/AddClang.cmake:86 (llvm_add_library)
tools/extra/clang-apply-replacements/CMakeLists.txt:5
(add_clang_library)
Getting LLVM installed is proving much more problematic than I was
expecting, based on experience with many other open source projects. Can
someone give me a push in the right direction? I s...
2017 Aug 04
2
Cross compiling C++ program
...rsion: 4.0.1
CMake Error at /usr/local/llvm40/lib/cmake/llvm/LLVM-Config.cmake:203 (message):
Library `BinaryFormat' not found in list of llvm libraries.
Call Stack (most recent call first):
/usr/local/llvm40/lib/cmake/llvm/AddLLVM.cmake:508 (llvm_map_components_to_libnames)
cmake/modules/AddClang.cmake:86 (llvm_add_library)
lib/AST/CMakeLists.txt:6 (add_clang_library)
-- Configuring incomplete, errors occurred!
See also "/usr/home/meka/repos/clang/build/clang/CMakeFiles/CMakeOutput.log".
> A note on linker scripts: support for them in lld is still a bit rough
> around...
2017 Aug 04
3
Cross compiling C++ program
...40/lib/cmake/llvm/LLVM-Config.cmake:203 (message):
> > Library `BinaryFormat' not found in list of llvm libraries.
> > Call Stack (most recent call first):
> > /usr/local/llvm40/lib/cmake/llvm/AddLLVM.cmake:508 (llvm_map_components_to_libnames)
> > cmake/modules/AddClang.cmake:86 (llvm_add_library)
> > lib/AST/CMakeLists.txt:6 (add_clang_library)
> >
> > -- Configuring incomplete, errors occurred!
> > See also "/usr/home/meka/repos/clang/build/clang/CMakeFiles/CMakeOutput.log".
>
> I think it found an installed llvm, and i...
2017 Aug 04
3
Cross compiling C++ program
On Thu, Aug 03, 2017 at 08:22:24AM -0600, Jonathan Roelofs wrote:
> IIUC, you don't want to cross compile llvm itself (which is what those
> instructions are for), but instead you want to *use* llvm to cross compile
> things.
>
> To build your sysroot, you'll need to cross-build:
>
> 1) A libc. Good choices for that for baremetal are: newlib or musl.
> 2)