[llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll

Jeff Cohen jeffc at jolt-lang.org
Wed Apr 11 13:43:57 PDT 2007


Chris Lattner wrote:
> On Apr 11, 2007, at 12:54 PM, Reid Spencer wrote:
>
>   
>> + ; RUN: llvm-as < %s | llvm-dis > %t1.ll
>> + ; RUN: llvm-as < %s | llvm2cpp -gen-program -o %t2.cpp -
>> + ; RUN: gcc -g -D__STDC_LIMIT_MACROS -o %t2.exe %t2.cpp -I%I -L%L - 
>> lLLVMCore -lLLVMSupport -lLLVMbzip2 -lLLVMSystem -lstdc++
>> + ; RUN: %t2.exe > %t2.ll
>> + ; RUN: diff %t1.ll %t2.ll
>> +
>>     
>
> I don't think that hard coding 'gcc' in here is a good idea.  Can you  
> pass down $(CC) from autoconf?
>
> -Chris

Definitely isn't.  I use gcc40 on my system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070411/e5e1f9c9/attachment.html>


More information about the llvm-commits mailing list