Help Required for LLVM

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

I got it figured out..
Thanx for the help !!!