Sir/Ma'am, I am a MTech student at IIT Bombay, doing my thesis in compiler optimization. I am working on "Profile Based Pointer Analysis to Perform Optimization", and would like to implement the optimization in llvm for performing experiments. When I was trying to build and install the compiler after configuring llvm-gcc I got the following error: gcc: gengtype-lex.c: No such file or directory Where can I find this file. Or am I missing something else. Please reply as soon as possible, I will be highly obliged. Thanks and Regards, Ambika Agarwal 08305037 CSE, MTech IIT Bombay
Hi Ambika,> I am a MTech student at IIT Bombay, doing my thesis in compiler > optimization. > I am working on "Profile Based Pointer Analysis to Perform > Optimization", and would like to implement the optimization in llvm for > performing experiments. > > When I was trying to build and install the compiler after configuring > llvm-gcc I got the following error: > gcc: gengtype-lex.c: No such file or directory > > Where can I find this file. Or am I missing something else. > Please reply as soon as possible, I will be highly obliged.what target are you building for and what commands did you use to configure and try to build? Ciao, Duncan.
Hi Ambika, Could you check if you have bison and flex installed on your machine? Nicolas On Mon, Jan 4, 2010 at 9:31 AM, Duncan Sands <baldrick at free.fr> wrote:> Hi Ambika, > > > I am a MTech student at IIT Bombay, doing my thesis in compiler > > optimization. > > I am working on "Profile Based Pointer Analysis to Perform > > Optimization", and would like to implement the optimization in llvm for > > performing experiments. > > > > When I was trying to build and install the compiler after configuring > > llvm-gcc I got the following error: > > gcc: gengtype-lex.c: No such file or directory > > > > Where can I find this file. Or am I missing something else. > > Please reply as soon as possible, I will be highly obliged. > > what target are you building for and what commands did you use to configure > and try to build? > > Ciao, > > Duncan. > _______________________________________________ > 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/20100104/c4f9bc5e/attachment.html>