Changeset 058c7ef for chapter06/gcc.xml


Ignore:
Timestamp:
04/11/2019 01:14:59 PM (5 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
ffce215
Parents:
a23757b
Message:

Simplify instructions for multilib support. Fixes #4453

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11575 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/gcc.xml

    ra23757b r058c7ef  
    5555    libraries to <quote>lib</quote>:</para>
    5656
    57 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \
    58     -i.orig gcc/config/i386/t-linux64
    59 cat &gt; gcc/config/i386/t-linux64 &lt;&lt;"EOF"
    60 comma=,
    61 MULTILIB_OPTIONS    = $(subst $(comma),/,$(TM_MULTILIB_CONFIG))
    62 MULTILIB_DIRNAMES   = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS)))
    63 MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu)
    64 MULTILIB_OSDIRNAMES+= m32=../lib32$(call if_multiarch,:i386-linux-gnu)
    65 MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32)
    66 EOF</userinput></screen>
     57<screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/'  \
     58    -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
     59    -i.orig gcc/config/i386/t-linux64</userinput></screen>
    6760
    6861    <para>Remove the symlink created earlier as the final gcc includes will be
Note: See TracChangeset for help on using the changeset viewer.