Hello all, I am trying to build the latest version of llvm-gcc on a x86_64 architecture running a Linux distribution. Using the READM.LLVM I have managed to run ./configure using appropriate options, but when I try to build using make, it shows the following error message after a few seconds: ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No such file or directory. This happens when trying to build gengtype-lex.c. I could indeed not find the file gengtype-yacc.h in neither llvm-gcc nor llvm code base. Is there a dependency I am missing ? A problem with the configure flags I've used ? Thank you very much in advance for your help ! Romain -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100812/9dc6b5e9/attachment.html>
Rajika Kumarasiri
2010-Aug-12 13:11 UTC
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
You'll need to install the dev packages for gcc 4.2. Rajika On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com> wrote:> Hello all, > > I am trying to build the latest version of llvm-gcc on a x86_64 > architecture running a Linux distribution. Using the READM.LLVM I have > managed to run ./configure using appropriate options, but when I try to > build using make, it shows the following error message after a few seconds: > > ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No > such file or directory. > > This happens when trying to build gengtype-lex.c. > > I could indeed not find the file gengtype-yacc.h in neither llvm-gcc nor > llvm code base. Is there a dependency I am missing ? A problem with the > configure flags I've used ? > > Thank you very much in advance for your help ! > > Romain > > _______________________________________________ > 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/20100812/b9b58f6d/attachment.html>
Rajika Kumarasiri
2010-Aug-12 13:13 UTC
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex. Rajika On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:> You'll need to install the dev packages for gcc 4.2. > > Rajika > > On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote: > >> Hello all, >> >> I am trying to build the latest version of llvm-gcc on a x86_64 >> architecture running a Linux distribution. Using the READM.LLVM I have >> managed to run ./configure using appropriate options, but when I try to >> build using make, it shows the following error message after a few seconds: >> >> ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No >> such file or directory. >> >> This happens when trying to build gengtype-lex.c. >> >> I could indeed not find the file gengtype-yacc.h in neither llvm-gcc nor >> llvm code base. Is there a dependency I am missing ? A problem with the >> configure flags I've used ? >> >> Thank you very much in advance for your help ! >> >> Romain >> >> _______________________________________________ >> 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/20100812/fe5a657b/attachment.html>