[lldb-dev] building lldb via command line on osx: error: "LONG_BIT definition

Timothee Cour thelastmammoth at gmail.com
Wed Mar 5 01:36:02 PST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140305/01419176/attachment.html>


More information about the lldb-dev mailing list