[LLVMdev] Problem with the installation of llvm gcc
khaled hamidouche
khaledhamidouche at gmail.com
Mon Apr 19 08:20:20 PDT 2010
2010/4/19 Ben Perry <pianoman at udel.edu>
> You need to manually copy the llvm-gcc front-end binaries to somewhere
> in your path. Alternatively, you can download the clang front-end and
> start using that instead.
>
In file included from Hello.cpp:16:
In file included from /usr/local/include/llvm/Pass.h:32:
/usr/local/include/llvm/System/DataTypes.h:45:3: error: #error "Must #define
__STDC_LIMIT_MACROS before #including System/DataTypes.h"
# error "Must #define __STDC_LIMIT_MACROS before #including
System/DataTypes.h"
^
/usr/local/include/llvm/System/DataTypes.h:49:3: error: #error "Must #define
__STDC_CONSTANT_MACROS before " "#including System/DataTypes.h"
# error "Must #define __STDC_CONSTANT_MACROS before " \
^
In file included from Hello.cpp:17:
In file included from /usr/local/include/llvm/Function.h:24:
In file included from /usr/local/include/llvm/Argument.h:18:
In file included from /usr/local/include/llvm/Attributes.h:18:
/usr/local/include/llvm/Support/MathExtras.h:38:24: error: use of undeclared
identifier 'INT64_C'
return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
^
/usr/local/include/llvm/Support/MathExtras.h:57:26: error: use of undeclared
identifier 'UINT64_C'
return N >= 64 || x < (UINT64_C(1)<<N);
^
4 errors generated.
so I m wandering to know if errors due to Clang or to LLVM ??
Thank you
>
> On Mon, Apr 19, 2010 at 10:58 AM, khaled hamidouche
> <khaledhamidouche at gmail.com> wrote:
> > Hello
> >
> > I'm trying to install LLVM and LLVM GCC
> > so I check out the source of llvm and llvm-gcc-4.2 from the svn
> >
> > I flow the instructions of this page
> > http://llvm.org/docs/GCCFEBuildInstrs.html
> >
> > I did the installation of LLVM and LLVM GCC well but the problem is there
> is
> > no llvm-gcc at the end of instalation !!! ??
> > I mean in the /usr/local/bin/ there are all the commands of llvm (lli llc
> > llvmc llmv-mc .... ) execpt llvm-gcc !!
> >
> > Please can you tell me what I did wrong
> >
> > Thank you
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> >
>
>
>
> --
> "Believe you can, believe you can't; either way you're right." -Henry Ford
>
> _______________________________________________
> 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/20100419/d97380d2/attachment.html>
More information about the llvm-dev
mailing list