Changeset 9c0c3a0 for chapter06/gcc.xml
- Timestamp:
- 03/31/2021 10:41:34 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 172244e
- Parents:
- 1b7c90c2
- git-author:
- Thomas Trepl <thomas@…> (04/11/2019 01:14:59 PM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:34 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc.xml
r1b7c90c2 r9c0c3a0 55 55 libraries to <quote>lib</quote>:</para> 56 56 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 > gcc/config/i386/t-linux64 <<"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> 67 60 68 61 <para>Remove the symlink created earlier as the final gcc includes will be
Note:
See TracChangeset
for help on using the changeset viewer.