[LLVMdev] fail to compile latest llvm?
Jun Koi
junkoi2004 at gmail.com
Wed Sep 17 20:27:47 PDT 2014
i think i found the reason: i put the llvm directory in a path that having
a space inside, so it fails to compile.
by moving llvm directory to elsewhere without a space in the path,
everything works again.
thanks all for the help!
Jun
On Thu, Sep 18, 2014 at 7:38 AM, Jonathan Roelofs <jonathan at codesourcery.com
> wrote:
>
>
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140918/b3ef4a83/attachment.html>
More information about the llvm-dev
mailing list