Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
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 ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
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. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/test/Feature/llvm2cpp.ll
On Wed, 2007-04-11 at 13:43 -0700, Jeff Cohen wrote: 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. I'm fixing this, guys .. hang on. Reid signature.asc Description: This is a digitally signed message part ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits