[LLVMdev] fail to compile latest llvm?

Jonathan Roelofs jonathan at codesourcery.com
Wed Sep 17 16:38:25 PDT 2014



On 9/17/14 9:38 AM, Jun Koi wrote:
>
>
> On Wed, Sep 17, 2014 at 10:14 PM, Simon Atanasyan <simon at atanasyan.com
> <mailto:simon at atanasyan.com>> wrote:
>
>     Hi,
>
>     Probably you get the error because you try to build LLVM in the source
>     code directory. Create a separate folder, cd to this folder and run
>     the configure script.
>
>     $ mkdir llvm-bld
>     $ cd llvm-bld
>     $ ../<llvm src>/configure --enable-targets=mips
>     $ make
>
>
> no, this should not solve the problem, as nothing is wrong with compiling in the
> source directory.
... other than it being a bad practice, and being generally discouraged.


Cheers,

Jon
> actually i did this many times before, but now i moved to a new OSX machine, and
> have this problem.
>
>
>   (and i already tried your solution, and confirm it doesnt help).
>
> thanks.
>
>
>
>
>     On Wed, Sep 17, 2014 at 10:40 AM, Jun Koi <junkoi2004 at gmail.com
>     <mailto:junkoi2004 at gmail.com>> wrote:
>     > I got the latest LLVM code from git repo, and tried to compile
>     > that on my OSX 10.9.4 machine. But I got the error at "make" step:
>     >
>     >     "Makefile:151: /Makefile.rules: No such file or directory"
>     >
>     > Below is the output of "configure" & "make". Any idea what is wrong?
>     >
>      > $ ./configure --enable-targets=mips
>
>     --
>     Simon Atanasyan
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the llvm-dev mailing list