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@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to