[lldb-dev] llvm.zip and lldb outside linux.

kirk.beitz at nokia.com kirk.beitz at nokia.com
Wed Jan 26 10:36:21 PST 2011


a bit more info … i want to get lldb built using mingw.  llvm's configure seems to create Makefiles in most appropriate places.  i've got as far as the following (with a workaround for a PERL variable dependency that chokes if the containing windows environment contains a PERL variable that has a windows-specific full-path name):

make[2]: Leaving directory `/x/lldb-win/tools/llvm-config'
llvm-config: unknown component name: bitreader
make[2]: Entering directory `/x/lldb-win/tools/opt'
/x/lldb-win/Makefile.rules:939: *** llvm-config --libs failed.  Stop.
make[2]: Leaving directory `/x/lldb-win/tools/opt'
make[1]: *** [opt/.makeall] Error 2
make[1]: Leaving directory `/x/lldb-win/tools'
make: *** [all] Error 1

i browsed around in http://llvm.org/svn/llvm-project and don't see anything obvious called bitreader.

i fgrep'ed for bitreader through what i did get co from svn, and i see some stuff under "bindings".

do i really need 'bitreader' for lldb?  is there already a way to turn off support for trying to make it using configure?  if it's not needed for lldb, and if configure doesn't already have a way to ignore it, i'll see if i can tweak configure to do so.

thanks for any info or help.
++ kirk

On 2011-Jan-25, at 4:43 PM, ext Greg Clayton wrote:

i had been of the understanding that some work is being done on building lldb for linux … which would imply that something similar has to be done with linux-specific archives and tools … given that the committed llvm.zip contains mac "fat" archives, and that the extraction scripts use the mac/darwin tool 'lipo' to extract the archives for use in building lldb.

On linux, you checkout LLDB into the tools directory:

svn co http://llvm.org/svn/llvm-project/llvm/trunk -r 123723 llvm
cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk -r 123723 clang
svn co https://$USER@llvm.org/svn/llvm-project/lldb/trunk lldb
cd ..
./configure --enable-optimized --disable-assertions --enable-targets=x86_64,arm
make

This should just build everything you need.


any information/help on any work already done on this front would be greatly appreciated.


Let me know if you have any other questions! But this should get you going.

Greg Clayton




++ kirk beitz : nokia : austin + san diego : kirk.beitz at nokia.com<mailto:kirk.beitz at nokia.com> ++



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110126/72b4d200/attachment.html>


More information about the lldb-dev mailing list