[cfe-dev] Building clang with MSYS under Windows

Csaba Raduly rcsaba at gmail.com
Mon Jul 4 01:00:21 PDT 2011


On Mon, Jul 4, 2011 at 2:39 AM, Edward Diener  wrote:
> I follow the instructions for building clang with MSYS under Windows
> given on the clang web site.
>
> The 'configure' command runs to completion without any problems.
>
> When I invoke 'make' I get:
>
> 'Makefile:139: /Makefile.rules: No such file or directory
> make: *** No rule to make target `/Makefile.rules'.  Stop.'
>
> In the generated at line 139 I see:
>
> 'include $(LLVM_SRC_ROOT)/Makefile.rules'
>
> What has gone wrong ?

LLVM_SRC_ROOT was not set correctly. Run "make -p" and check the
output to see whether LLVM_SRC_ROOT is undefined or maybe defined as
empty. (Redirect the output or pipe into 'less' for easier handling).

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds




More information about the cfe-dev mailing list