Author Topic: VVLM Clang Compiler  (Read 643 times)

Offline dkaip

  • Multiple posting newcomer
  • *
  • Posts: 34
VVLM Clang Compiler
« on: January 02, 2019, 12:20:22 pm »
Hello.
I have download pdfium for building on windows 10. At C:\repo\pdfium\third_party\llvm-build\Release+Asserts\bin\ there are exe files, that ninja uses for compilation.
Where must put all that in Global Compiler Settings for VVML.
When building pdfium in windows with ninja building system, i can not connect with my program in GCC, so i must use VVML Clang compiler.
Quote
clang-cl.exe
lld-link.exe
llvm-pdbutil.exe
llvm-symbolizer.exe
llvm-undname.exe
msdia140.dll
sancov.exe

At the folder C:\repo\pdfium\third_party\llvm-build\Release+Asserts\lib\clang\8.0.0\lib\windows\ we have

Quote
clang_rt.asan-i386.lib
clang_rt.asan-x86_64.lib
clang_rt.asan_cxx-i386.lib
clang_rt.asan_cxx-x86_64.lib
clang_rt.asan_dll_thunk-i386.lib
clang_rt.asan_dll_thunk-x86_64.lib
clang_rt.asan_dynamic-i386.dll
clang_rt.asan_dynamic-i386.lib
clang_rt.asan_dynamic-x86_64.dll
clang_rt.asan_dynamic-x86_64.lib
clang_rt.asan_dynamic_runtime_thunk-i386.lib
clang_rt.asan_dynamic_runtime_thunk-x86_64.lib
clang_rt.fuzzer_no_main-x86_64.lib
clang_rt.profile-i386.lib
clang_rt.profile-x86_64.lib
clang_rt.ubsan_standalone-i386.lib
clang_rt.ubsan_standalone-x86_64.lib
clang_rt.ubsan_standalone_cxx-i386.lib
clang_rt.ubsan_standalone_cxx-x86_64.lib

Thank you
Jim.
« Last Edit: January 02, 2019, 12:22:55 pm by dkaip »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2143
Re: VVLM Clang Compiler
« Reply #1 on: January 02, 2019, 07:34:36 pm »
What version of CB are you currently using?
The CB nightly built distribution already has a LLVM clang compiler entry built-in.

Look at Settings/compiler/Selected compiler dropdown box and see if there is a LLVM clang compiler entry there.

If not, I'd suggest that you download a nightly build. I know that 15 August 2018 build has an LLVM clang entry built in .
http://forums.codeblocks.org/index.php?board=20.0

From there, you can set up the build chain, and the include directories to point to your installed LLVM folder.