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

Rajika Kumarasiri rajika at wso2.com
Thu Aug 12 07:03:33 PDT 2010


On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote:

> 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 ?
>

AFAIR, you need to have the set of headers, gcc-dev.( Some one else may
provide you with this information)


> - How should I include bison+flex when I have installed Do I need to put
> additional flags to configure script ?
>

If you have those in PATH, that should be picked by the script.

Rajika


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


More information about the llvm-dev mailing list