[lldb-dev] building lldb via command line on osx: error: "LONG_BIT definition
Greg Clayton
gclayton at apple.com
Wed Mar 5 10:17:03 PST 2014
Just use Xcode from the command line:
cd lldb
xcodebuild -configuration Debug
Then:
cd build/Debug
everything will be in that directory. If you build with make, you won't end up with a LLDB.framework, with Xcode build you will.
Greg
On Mar 5, 2014, at 1:36 AM, Timothee Cour <thelastmammoth at gmail.com> wrote:
> i'm trying to build lldb w/o xcode on osx without using xcode, following linux's instructions.
>
> it fails at this step:
>
> ninja lldb
> ...
> In file included from /Library/Frameworks/Python.framework/Headers/Python.h:55:
> /Library/Frameworks/Python.framework/Headers/pyport.h:616:2: error: "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
> #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
>
> It does work using xcode though (but needs a bit updating as docs only mention xcode 4.x not xcode 5.x)
>
> Furthermore I can't seem to be able to build lldb-gdbserver on xcode : gives error Python.h file not found.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list