[lldb-dev] [PATCH] Compiling lldb on Linux

Greg Clayton gclayton at apple.com
Wed Jul 7 11:43:45 PDT 2010

On Jul 6, 2010, at 5:23 PM, Eli Friedman wrote:

> On Tue, Jul 6, 2010 at 5:21 PM, Greg Clayton <gclayton at apple.com> wrote:
>> I was able to build successfully with no changes to your patch Eli.
>> I did have to install the dev packages for python 2.6 and editline (version 1) main things you need to intall:
>> python2.6-dev
>> libghc6-editline-dev
> Right... the issue is "if I try to get rid of the hacks in
> source/Interpreter/ScriptInterpreterPython.cpp"...

Ah. I just checked in some clarification on where the "init_lldb()" function comes from. 

"init_lldb()" is in the C++ output file generated by SWIG after it is run on all of the headers in "lldb/API/SB*.h".

So we need to get SWIG generation working and it will need to be in the makefile in "lldb/source/Interpreter".

Eli, did you have some Makefile changes that I can use to get swig generation going so I can see the issue you were running into?

Greg Clayton

More information about the lldb-dev mailing list