[Lldb-commits] [patch] enable building lldb with cmake on Linux

Malea, Daniel daniel.malea at intel.com
Tue Jan 29 16:54:26 PST 2013

Hi all,

This is an early attempt to get the CMake LLDB build going on Linux. There was some interest in this on IRC, so I figured I'd post the scripts that work for me. Hopefully it will save someone some work. 

Thanks to all hard work of the folks who worked on the Windows branch, and my colleague Ben!

Some things that had to be fixed from the Windows side:
- build the library "liblldb.so". The windows branch seems to only build the lldb tool and no shared object
- run swig through shell-scripts (and not directly) to build the API. this will likely have to be special-cased for Linux and not Windows

Some known problems:
- the perl script that generates the version is not run (version is hardcoded to 1 for now)
- clang dependencies may not be calculated correctly, so you may have to build clang first

Reviews, comments, and testing welcome!

PS. I am using clang with libstdc++ 4.6 to build. It's based on a slightly older (~1 week) LLDB which is pre-DataFormatter… 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_lldb_linux.patch
Type: application/octet-stream
Size: 43122 bytes
Desc: cmake_lldb_linux.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130130/23c28d62/attachment.obj>

More information about the lldb-commits mailing list