[llvm-commits] llvm-gcc bitcode patch

Chris Lattner clattner at apple.com
Sun May 6 11:24:08 PDT 2007


Isn't this the first hunk of the patch I sent?

-Chris

On May 6, 2007, at 3:52 AM, Reid Spencer wrote:

> In addition to Chris' patch, you also need this patch:
>
> svn diff gcc/Makefile.in
> Index: gcc/Makefile.in
> ===================================================================
> --- gcc/Makefile.in     (revision 327)
> +++ gcc/Makefile.in     (working copy)
> @@ -1075,7 +1075,7 @@
>
>  # We use llvm-config to determine the libraries that we need to  
> link in our
>  # target, optimizations analyses and the bcwriter.
> -LLVMCOMPONENTS := $(LLVMTARGETOBJ) scalaropts transformutils  
> analysis bcwriter ipo bcreader
> +LLVMCOMPONENTS := $(LLVMTARGETOBJ) scalaropts transformutils  
> analysis bitwriter ipo bitreader
>  LLVMLIBFILES := $(shell $(LLVMBINPATH)/llvm-config --libfiles $ 
> (LLVMCOMPONENTS))
>  LLVMLDFLAGS := $(shell $(LLVMBINPATH)/llvm-config --ldflags)
>  LIBS += $(LLVMLDFLAGS)
>
> This tells the makefile to link against bitreader/bitwriter instead of
> the bytecode variants. You can probably make this one line change by
> hand.
>
> Reid.
>
> On Sun, 2007-05-06 at 02:36 -0700, Chris Lattner wrote:
>> Here's the bitcode patch as an attachment, in case the mirror gets
>> flakey:
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list