[llvm-commits] [llvm-gcc-4.2] r80071 - /llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64

Chris Lattner sabre at nondot.org
Tue Aug 25 21:56:30 PDT 2009


Author: lattner
Date: Tue Aug 25 23:56:30 2009
New Revision: 80071

URL: http://llvm.org/viewvc/llvm-project?rev=80071&view=rev
Log:
"Current llvm-gcc-4.2 for trunk and the 2.6 release
is unable to build the i386 multilib for the 
x86_64-apple-darwin target. The attached patch provides
this support."

Approved by Mike Stump, patch by Jack Howarth!


Modified:
    llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64

Modified: llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64?rev=80071&r1=80070&r2=80071&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64 (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/t-darwin64 Tue Aug 25 23:56:30 2009
@@ -2,6 +2,14 @@
 LIB2_SIDITI_CONV_FUNCS=yes
 LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c
 
+# LLVM LOCAL begin
+MULTILIB_OPTIONS = m32
+MULTILIB_DIRNAMES = i386
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib
+# LLVM LOCAL end
+
 # APPLE LOCAL begin gcov 5573505
 # -pipe because there's an assembler bug, 4077127, which causes
 # it to not properly process the first # directive, causing temporary





More information about the llvm-commits mailing list