Ticket #11150: 0001-Fix-x86-configure-option-for-crosscompile-on-Linux.patch

File 0001-Fix-x86-configure-option-for-crosscompile-on-Linux.patch, 960 bytes (added by mshlyn, 10 years ago)
  • INSTALL-as-haiku-cross-compiler-on-LINUX

    From d6acc07cfcd761c4f5dc2538df1a16e2b22df63b Mon Sep 17 00:00:00 2001
    From: mshlyn <linlongzhou@163.com>
    Date: Sat, 23 Aug 2014 00:55:48 +0800
    Subject: [PATCH] Fix x86 configure option for crosscompile on Linux
    
    ---
     INSTALL-as-haiku-cross-compiler-on-LINUX | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/INSTALL-as-haiku-cross-compiler-on-LINUX b/INSTALL-as-haiku-cross-compiler-on-LINUX
    index 25c2738..92f26f0 100644
    a b successfully.  
    1212
    1313If you're not interested in binary compatibility (or want to build for the PowerPC architecture), you can build gcc4 instead by doing this:
    1414
    15   $ ./configure --build-cross-tools-gcc4 <arch> ../buildtools
     15  $ ./configure --build-cross-tools <arch> ../buildtools
    1616
    1717Replace "<arch>" with either "x86" or "ppc", depending on which of the two
    1818architectures you want to build for.