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

Reid Spencer reid at x10sys.com
Wed Apr 11 13:54:05 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070411/5ceb6454/attachment.sig>


More information about the llvm-commits mailing list