[LLVMdev] Build problems on MinGW solved - possible llvm-config bug

Duncan Pierce duncan at duncanpierce.org
Sun Jan 18 07:13:15 PST 2009


2009/1/18 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello, Duncan
>
>> I discovered one other thing that was causing me problems on MinGW: if I use the
>> msys.bat to open a terminal llvm-config inserts double slashes at the start of
>> any absolute path it generates (e.g. //lib/LLVMX86CodeGen.o) - this breaks g++.

> That's strange, never seen this before. Do you have two different
> version of perl installed? (for example, one msys DTK and another one
> - standalone ActivePerl, etc.)

I have a /usr/bin/perl.exe (bash under DOS prompt finds this one) and
a /bin/perl.exe (msys.bat finds this one). But these are the same
according to diff --binary. I only installed one. In fact, I deleted
my entire first MinGW installation when I first found I couldn't llvm
working and reinstalled cleanly, using perl from msys.

Duncan



More information about the llvm-dev mailing list