[cfe-dev] clang and mingw

Vincent Richomme forumer at smartmobili.com
Mon Mar 15 06:36:12 PDT 2010


On Sun, 14 Mar 2010 15:56:30 +0300, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> Ok I found that from 08th march 2010, clang is not compiled anymore on
>> mingw.
>> Problem seems to be the following lines:
>>
>>
C:\Developer\Mingw-NG\home\Vincent\llvm_20100308\tools\clang\tools\Makefile:
>>
>> include $(LEVEL)/Makefile.config
>>
>> ifeq ($(OS), $(filter $(OS), Cygwin MingW))
>> DIRS := $(filter $(DIRS), CIndex)
>> DIRS := $(filter $(DIRS), c-index-test)
>> endif
>>
>> If I comment them, clang/c++ are finally built.
> I believe I just committed the fix, please verify

Ok so now clang.exe is compiled but I get an error when a symbolic link is
created
llvm[4]: Creating Release Alias clang++ (without symbols)
ln: creating symbolic link `/home/Vincent/llvm/Release/bin/clang++.exe' to
`clang.exe': No such file or directory
make[4]: *** [/home/Vincent/llvm/Release/bin/clang++.exe] Error 1
make[4]: Leaving directory `/home/Vincent/llvm/tools/clang/tools/driver'

I know that msys doesn't really support symbolic link since it makes
actually a copy
but don't know if it's the reason here.
Or maybe from error message, is it normal that ln is not passed full path
to clang.exe ?




More information about the cfe-dev mailing list