<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello, I am new in using llvm so I would like to get some help on how to compile test-suite.<BR>
 <BR>
Assumptions: <BR>
llvm is in /llvm directory<BR>
llvm-gcc is in /llvm-4.2-2.4-x86-linux-RHEL4/bin<BR>
 <BR>
I have tried compiling test-suite and I get the following error:<BR>
$make<BR>
make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'<BR>
make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'<BR>
make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'<BR>
make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'<BR>
make[4]: *** No rule to make target 'Output/sse.expandfft.linked.rbc', needed by 'Output/sse.expandfft.linked.bc'. Stop.<BR>
 <BR>
This means that the make call cannot find the llvm-gcc file. If I type llvm-gcc in the terminal I get:<BR>
llvm-gcc: no input name<BR>
 <BR>
Now I have tried running make after running the following configurations.<BR>
 <BR>
in the test-suite folder:<BR>
1) ./configure<BR>
2) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin<BR>
3) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmsrc=/llvm<BR>
4) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmobj=/llvm<BR>
 <BR>
All of which give me the same error...<BR>
 <BR>
when I went to /llvm and did a: <BR>
 <BR>
./configure <BR>
 <BR>
with nothing else (earlier I was trying to setup the --with-llvmgccdir= llvm-4.2-2.4-x86-linux-RHEL4/bin from here and then did a make in the test-suite I get the following error:<BR>
 <BR>
$make<BR>
make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'<BR>
make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'<BR>
make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'<BR>
make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'<BR>
Compiling sse.expandfft.c to Output/sse.expandfft.bc<BR>cc1: warning: unrecognized gcc debugging option: i<BR>cc1: warning: unrecognized gcc debugging option: s<BR>cc1: warning: unrecognized gcc debugging option: b<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: e<BR>cc1: warning: unrecognized gcc debugging option: -<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: m<BR>cc1: warning: unrecognized gcc debugging option: -<BR>cc1: warning: unrecognized gcc debugging option: o<BR>cc1: warning: unrecognized gcc debugging option: t<BR>cc1: warning: unrecognized gcc debugging option: z<BR>cc1: warning: unrecognized gcc debugging option: n<BR>cc1: warning: unrecognized gcc debugging option: s<BR>cc1: Unknown command line argument '-m32'.  Try: 'cc1 --help'<BR>make: [Output/sse.expandfft.bc] Error 1 (ignored)<BR>cp -f Output/sse.expandfft.bc Output/sse.expandfft.linked.rbc<BR>
cp: cannot stat 'Output/sse.expandfft.bc' No such file or directory<BR>
 <BR>
and then it tries to compile the following files like sse.isamax.c but I get the same warnings and errors..<BR>
 <BR>
Any idea on what might be wrong here? I have tried rerunning the configure options at the test-suite level with but the error still exists.<BR>
 <BR>
 <BR>
Also in the test-suite when I try to make a SPEC2006 benchmark where can I specify what passes to be run at the opt level?<BR>
 <BR>
Thanks,<BR>
 <BR>
George<BR><br /><hr />Windows Live™ SkyDrive: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009' target='_new'>Check it out.</a></body>
</html>