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

Chris Lattner clattner at apple.com
Wed Apr 11 13:32:24 PDT 2007


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



More information about the llvm-commits mailing list