llvm configure problem

Dear all
I'm very new to llvm. Actually I was trying to install it the whole day.
Now I have a problem with configuration step.
I get the following error:

checking for clang... no
checking for llvm-gcc... llvm-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

and the config.log is attached.
Any help is appreciated.

Regards,
Marwa Yusuf
Computer Science and Engineering MSc. student
Egypt-Japan University for Science and Technology
Egypt

config.log (6.67 KB)

looks like you have a broken version of llvm-gcc installed. Try

CC=gcc CXX=g++ ../llvm/configure...

Cheers,
Rafael

Rafael Ávila de Espíndola <rafael.espindola <at> gmail.com> writes:

looks like you have a broken version of llvm-gcc installed. Try

CC=gcc CXX=g++ ../llvm/configure...

Cheers,
Rafael

this helped me!!!

thank you very much!!