So i install a 12.0 tar.gz on Gentoo.
clang with lldb is installed as a dependency:
Code: Select all
gentoo@gentoo ~ $ sudo emerge -s clang
[ Results for search key : clang ]
Searching...
* sys-devel/clang
Latest version available: 6.0.0-r1
Latest version installed: 6.0.0-r1
Size of files: 12,520 KiB
Homepage: https://llvm.org/
Description: C language family frontend for LLVM
License: UoI-NCSA
Code: Select all
gentoo@gentoo ~ $ sudo find /usr/ -name libclang.so
/usr/lib64/llvm/6/lib64/libclang.so
sasha@gentoo ~ $
Code: Select all
gentoo@gentoo ~ $ sudo emerge -s lldb
[ Results for search key : lldb ]
Searching...
* dev-util/lldb
Latest version available: 6.0.0
Latest version installed: 6.0.0
Size of files: 18,866 KiB
Homepage: https://llvm.org/
Description: The LLVM debugger
License: UoI-NCSA
Code: Select all
-- OS_CODENAME is set to
-- ARCH 64
-- ARCH_NAME x86_64
-- *** NOTICE ***: clang code completion support is disabled
-- *** NOTICE ***: On Ubuntu / Debian you might want to install libclang-3.4-dev package
-- USE_SFTP is set to 1
-- Found wxWidgets: -L/usr/lib64;-pthread;;;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0 (found version "3.0.3")
--
may be clang should be built some special flags?
also http://codelite.org/Developers/BuildingClang it said:
Code: Select all
When the compilation is over, locate libclang.so and copy it to its proper location /path/to/codelite/sdk/clang
my cmake params look like this:
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CLANG=1 -DWITH_MYSQL=1 -DCL_PREFIX=/opt/${P} .. -DCOPY_WX_LIBS=1
any other suggestions?