<DIV><FONT size=2>
<P>Hello,</P>
<P>I have been trying to compile spec benchmark with llvm.I am trying the 2 methods suggested but have not succeeded yet .</P></FONT>1) <FONT size=2>Setting the flags </FONT><FONT face="Times New Roman"><FONT size=3>-Wl,-native-cbe or -Wl,-native flags to llvm-gcc. </FONT>
<P><FONT size=3>This results in successful compilation with llvm BUT it doesn't create <STRONG>.bc</STRONG> files (?)which I need for my experimentation.Any other significant modification/addition missing ??</FONT></P></FONT>2) <FONT size=2>Using llvm-test :
<P>I get this error after a long time when it enters into Spec directory.</P>
<P>-----------------------------------------------------------------------------------------------</P></FONT><FONT face="Times New Roman">
<P><FONT size=3>`/home/tsharma/llvm-cvs/llvm/projects/llvm-test/External/SPEC/CFP2000' > gmake[4]: Entering directory > </FONT></P>
<P><FONT size=3>`/home/tsharma/llvm-cvs/llvm/projects/llvm-test/External/SPEC/CFP2000/177.mesa' > gmake[4]: *** No rule to make target `Output/accum.rbc', needed by > `Output/177.mesa.linked.rbc'. Stop. > gmake[4]: Leaving directory > </FONT></P></FONT><FONT size=2>
<P><FONT size=3>----------------------------------------------------------------------------------------------</FONT></P>
<P>Also please tell me how to test only SPEC benchmark with llvm-test , else it takes a long time to enter SPEC.</P>
<P>Am I missing something somewhere?I tried a lot but still failure !! Please help me find my way out.</P>
<P>Appreciate you help.</P>
<P>Thanks</P>
<P>TS</P></FONT><BR><BR><B><I>Chris Lattner <sabre@nondot.org></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 30 May 2005, Tanu Sharma wrote:<BR><BR>> I have been trying to compile the SPEC benchmark but have failed even <BR>> after several attempts.The first error I get while trying to run is :<BR><BR>There are two ways to do this:<BR><BR>1. Use the llvm-test harness<BR>2. Use the official spec harness with -Wl,-native-cbe or -Wl,-native flags<BR>to llvm-gcc.<BR><BR>-Chris<BR><BR>> --------------------------------------------------------------------<BR>><BR>> Error loading program '../00000002/gzip_base.x86_linux.bc': Can't open file: ../00000002/gzip_base.x86_linux.bc<BR>><BR>> -----------------------------------------------------------------------<BR>><BR>><BR>><BR>> Has anyone tried doing this ?Could you please tell me the changes required to compile it with llvm.<BR>><BR>><BR>><BR>> Thanks<BR>><BR>> TS<BR>><BR>><BR!
 >>
 ---------------------------------<BR>> Yahoo! Mail Mobile<BR>> Take Yahoo! Mail with you! Check email on your mobile phone.<BR><BR>-Chris<BR><BR>-- <BR>http://nondot.org/sabre/<BR>http://llvm.cs.uiuc.edu/<BR><BR>_______________________________________________<BR>LLVM Developers mailing list<BR>LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu<BR>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE></DIV><p>
                <hr size=1>Discover Yahoo!<br> 
Stay in touch with email, IM, photo sharing & more. <a href="http://us.rd.yahoo.com/evt=32659/*http://discover.yahoo.com/stayintouch.html">Check it out!</a>