[lldb-dev] linux question....

Eli Friedman eli.friedman at gmail.com
Thu Jun 10 13:07:41 PDT 2010


On Thu, Jun 10, 2010 at 10:47 AM, Caroline Tice <ctice at apple.com> wrote:
> When built for Mac OS X,  lldb builds as a "framework" which means it has a
> directory tree in which
> various necessary additional resources can be put.    In order to get the
> embedded Python scripting
> stuff working, we have been putting the .py and .so files that in needs into
> a Resources subdirectory of
> the lldb.framework.
>
> I'm trying to rewrite the build scripts to be OS-agnostic (or at least to
> work ok on Linux).  I am pretty sure
> a Linux-built lldb will not be a "framework", and I now have no idea where I
> should put the associated .py
> and .so files for lldb.  I would appreciate suggestions/help from someone
> more familiar with how this kind
> of stuff should work on Linux.

The final installed version of something like this would normally put
the .so files into $PREFIX/lib/, and the .py files into either
$PREFIX/lib/lldb (if the user wouldn't normally run them directly) or
into $PREFIX/bin (if they should be in the $PATH).  If your just
wondering where to put output files, though, it would be most
convenient to just compute the paths in the build system and pass them
as arguments to the scripts.

-Eli




More information about the lldb-dev mailing list