[LLVMdev] Trying to build llvm-gcc no x86_64 linux

Romain Pechayre rpechayr at gmail.com
Thu Aug 12 06:26:42 PDT 2010


Ok. Thank you for your input. New questions :) :
- Is the dev package basically the source code of gcc 4.2 ? Isn't it already
fully included in llvm-gcc code base ?
- How should I include bison+flex when I have installed Do I need to put
additional flags to configure script ?

Cheers,
Romain


On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:

> 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/f6da92df/attachment.html>


More information about the llvm-dev mailing list