[LLVMdev] building llvm :: host_os==mingw

kirk.beitz at nokia.com kirk.beitz at nokia.com
Wed Jan 26 11:42:49 PST 2011


i am interested in getting lldb build using mingw (which i don't think has yet been done).

to do so requires first building llvm in order to get the depended-upon clang library, et al.

after installing mingw, i have performed the following steps, as these are what have been used to build lldb on linux (with the targets being my targets of interest):

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 http://llvm.org/svn/llvm-project/lldb/trunk lldb
cd ..
./configure --enable-optimized --disable-assertions \
 --enable-targets=host,x86,x86_64,arm,cpp
make


upon invoking make, the following error was reported:


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


being unfamiliar with llvm and thus where i might find a component 'bitreader', i browsed around in http://llvm.org/svn/llvm-project ; i don't see anything obvious.  i fgrep'ed for bitreader through what i did get co from svn, and i see some stuff under "bindings", and various dependencies in some of the clang Makefiles , but the source of these dependencies is not clear to me in attempting to follow the makefile tree.

i browsed the last 6 months of archives for the list, and the only messages with subject lines containing mingw seemed to involve making certain perl is part of the msys distribution.  'which perl' tells me '/bin/perl' and 'perl --version' tells me 'This is perl, v5.6.1 built for msys', so i assume i have the right thing there.

is there something else i have to check out to get the bitreader module (et al … presuming that bitreader might not be the only unknown component, just the first encountered in the attempt to make in lldb-win/tools )?

any information or help in regard to this topic would be greatly appreciated.

++ kirk



++ 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/llvm-dev/attachments/20110126/ceaf31e3/attachment.html>


More information about the llvm-dev mailing list