khaled hamidouche
2010-Apr-19 14:58 UTC
[LLVMdev] Problem with the installation of llvm gcc
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100419/685e6d73/attachment.html>
khaled hamidouche 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 wrong1) Did you type "make install" at the end of the llvm-gcc compilation? 2) What did you set the prefix to when configuring llvm-gcc? Was it /usr/local? 3) Did you use the -program-prefix=llvm- option when running configure to name all of the programs llvm-gcc, llvm-g++, etc? If not, then all of your programs will come out as gcc, g++, etc. -- John T.> > Thank you
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. 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
John Criswell a écrit :> khaled hamidouche 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 > > 1) Did you type "make install" at the end of the llvm-gcc compilation? > > 2) What did you set the prefix to when configuring llvm-gcc? Was it > /usr/local? > > 3) Did you use the -program-prefix=llvm- option when running configure > to name all of the programs llvm-gcc, llvm-g++, etc? If not, then all > of your programs will come out as gcc, g++, etc. >yes I did all of this things> -- John T. > >> >> Thank you >-- K.H
khaled hamidouche
2010-Apr-19 15:20 UTC
[LLVMdev] Problem with the installation of llvm gcc
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>
Maybe Matching Threads
- [LLVMdev] Problem with the installation of llvm gcc
- [LLVMdev] Problem with the installation of llvm gcc
- [LLVMdev] determining the number of iteration of a loop
- [LLVMdev] determining the number of iteration of a loop
- [LLVMdev] determining the number of iteration of a loop