[llvm-commits] llvm-gcc bitcode patch

Reid Spencer rspencer at reidspencer.com
Sun May 6 03:52:51 PDT 2007


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




More information about the llvm-commits mailing list