- Timestamp:
- 04/11/2019 01:14:59 PM (5 years ago)
- Branches:
- multilib-10.1
- Children:
- ffce215
- Parents:
- a23757b
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass1.xml
ra23757b r058c7ef 122 122 esac</userinput></screen> 123 123 124 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 125 -i.orig gcc/config/i386/t-linux64 126 cat > gcc/config/i386/t-linux64 <<"EOF" 127 comma=, 128 MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG)) 129 MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS))) 130 MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu) 131 MULTILIB_OSDIRNAMES+= m32=../lib32$(call if_multiarch,:i386-linux-gnu) 132 MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32) 133 EOF</userinput></screen> 124 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 125 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \ 126 -i.orig gcc/config/i386/t-linux64</userinput></screen> 134 127 135 128 <!-- -
chapter05/gcc-pass2.xml
ra23757b r058c7ef 97 97 libraries to <quote>lib</quote>:</para> 98 98 99 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 100 -i.orig gcc/config/i386/t-linux64 101 cat > gcc/config/i386/t-linux64 <<"EOF" 102 comma=, 103 MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG)) 104 MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS))) 105 MULTILIB_OSDIRNAMES = m64=../lib$(call if_multiarch,:x86_64-linux-gnu) 106 MULTILIB_OSDIRNAMES+= m32=../lib32$(call if_multiarch,:i386-linux-gnu) 107 MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32) 108 EOF</userinput></screen> 99 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/' \ 100 -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \ 101 -i.orig gcc/config/i386/t-linux64</userinput></screen> 109 102 110 103 <para arch="default">As in the first build of GCC it requires the GMP,
Note:
See TracChangeset
for help on using the changeset viewer.