[lldb-dev] [PATCH] Compiling lldb on Linux
Eli Friedman
eli.friedman at gmail.com
Sat Jul 3 19:09:46 PDT 2010
On Fri, Jul 2, 2010 at 6:10 PM, Sean Callanan <scallanan at apple.com> wrote:
> Eli,
> the generated file you're looking for is LLDB_vers.c, a file generated by
> Apple Generic Versioning, which is described in more detail
> here: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/agvtool.8.html.
> A properly-built LLDB_vers.c looks like this:
> –
> const unsigned char LLDBVersionString[] __attribute__ ((used)) =
> "@(#)PROGRAM:LLDB PROJECT:lldb-24" "\n"; const double LLDBVersionNumber
> __attribute__ ((used)) = (double)24.;
> –
> I've attached a simple Perl script that generates the above code given the
> location of the .pbxproj as input.
Cool, thanks; I didn't realize that was missing. I've managed to
integrate it in (but I'm not attaching a patch yet; see below).
The other thing that is missing is generating the SWIG bindings; see
http://lists.cs.uiuc.edu/pipermail/lldb-dev/2010-June/000045.html .
I've managed to get it mostly working, but I'm running into an issue
with circular dependencies: bindings -> source/API ->
source/Interpreter -> bindings. I'm not sure how to go about dealing
with this... I'm tempted to just collapse lldb into a single .a file,
but I don't know how to tell the LLVM Makefile system to do that. Any
ideas?
-Eli
More information about the lldb-dev
mailing list