[cfe-dev] clang on win7 x64

Ariel V Feinerman arielfeinerman at gmail.com
Wed Oct 6 06:46:03 PDT 2010


Hi,

1

I have got llvm, test suite, clang from svn, buit them:
C:\llvm\LLVM\Debug>mingw32-make -j8 ENABLE_OPTIMIZED=0

 and try to test, but:

C:\llvm\LLVM\Debug>mingw32-make check-all
mingw32-make: *** No rule to make target `check-all'.  Stop.

C:\llvm\test>mingw32-make check-all
../Makefile.common:61: ../Makefile.config: No such file or directory
../Makefile.common:69: /Makefile.rules: No such file or directory
mingw32-make: *** No rule to make target `/Makefile.rules'.  Stop.

2

When compiles:

c:\Users\Ariel>C:\LLVM-2.8\bin\clang test.c
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
–?—?–˜–?—?
–ø—?–˜–∂–?–˜–?–∏–˜: –? C:/Users/Ariel/AppData/Local/Temp/cc-000001.o
–∏–∑–?–˜–?—
'–? —'–∏–ø —?–∏–?–?–?–>–∞ `_main' —? 32 –?–∞ 512

Nevertheless, programme works:

c:\Users\Ariel>C:\Users\Ariel\test.exe
hello world!

3

cmake did not create makefiles for some llvm tools such llvm-config, etc. So
they where not built.

4

C_INCLUDE_DIRS:STRING=
by default compiler search headers in the mingw/include,  does relative path
work?   ../include; ../clang2.9/include

-- 
best regards
Ariel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101006/f1f2efc0/attachment.html>


More information about the cfe-dev mailing list