Changeset 1163716


Ignore:
Timestamp:
Jul 5, 2009, 6:44:34 AM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5aec070
Parents:
1c78387
Message:

Add a sed to the temp system gcc to prevent gcc from including files from /tools/include while building native helper programs to run on the host. This fixes a compilation error on PPC and possibly other architectures.

Location:
BOOK/temp-system
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • BOOK/temp-system/64/gcc.xml

    r1c78387 r1163716  
    102102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    103103    href="../common/gcc.xml"
     104    xpointer="xpointer(//*[@os='ts1'])"/>
     105
     106    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     107    href="../common/gcc.xml"
     108    xpointer="xpointer(//*[@os='ts2'])"/>
     109
     110    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     111    href="../common/gcc.xml"
    104112    xpointer="xpointer(//*[@os='cm'])"/>
    105113
  • BOOK/temp-system/common/gcc.xml

    r1c78387 r1163716  
    9999    </variablelist>
    100100
     101    <para os="ts1">When gcc was configured it was told to find MPFR, GMP, PPL,
     102    and CLooG-PPL in /tools. However, when compiling gcc uses these same values
     103    for building native heper programs that run on the host. The following sed
     104    will change those values to look in cross-tools for the native programs
     105    only:</para>
     106
     107<screen os="ts2"><userinput>cp Makefile{,.orig}
     108sed "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:/tools:/cross-tools:g" \
     109    Makefile.orig &gt; Makefile</userinput></screen>
     110
    101111    <para os="cm">Compile the package:</para>
    102112
  • BOOK/temp-system/mips64/gcc.xml

    r1c78387 r1163716  
    9494    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9595    href="../common/gcc.xml"
     96    xpointer="xpointer(//*[@os='ts1'])"/>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     99    href="../common/gcc.xml"
     100    xpointer="xpointer(//*[@os='ts2'])"/>
     101
     102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     103    href="../common/gcc.xml"
    96104    xpointer="xpointer(//*[@os='cm'])"/>
    97105
  • BOOK/temp-system/multilib/gcc.xml

    r1c78387 r1163716  
    106106    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    107107    href="../common/gcc.xml"
     108    xpointer="xpointer(//*[@os='ts1'])"/>
     109
     110    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     111    href="../common/gcc.xml"
     112    xpointer="xpointer(//*[@os='ts2'])"/>
     113
     114    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     115    href="../common/gcc.xml"
    108116    xpointer="xpointer(//*[@os='cm'])"/>
    109117
  • BOOK/temp-system/ppc/gcc.xml

    r1c78387 r1163716  
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9090    href="../common/gcc.xml"
     91    xpointer="xpointer(//*[@os='ts1'])"/>
     92
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="../common/gcc.xml"
     95    xpointer="xpointer(//*[@os='ts2'])"/>
     96
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../common/gcc.xml"
    9199    xpointer="xpointer(//*[@os='cm'])"/>
    92100
  • BOOK/temp-system/ppc64/gcc.xml

    r1c78387 r1163716  
    8989    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    9090    href="../common/gcc.xml"
     91    xpointer="xpointer(//*[@os='ts1'])"/>
     92
     93    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     94    href="../common/gcc.xml"
     95    xpointer="xpointer(//*[@os='ts2'])"/>
     96
     97    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     98    href="../common/gcc.xml"
    9199    xpointer="xpointer(//*[@os='cm'])"/>
    92100
Note: See TracChangeset for help on using the changeset viewer.