Changeset d49e97c for chapter05/gcc-pass2.xml
- Timestamp:
- 12/02/2016 07:30:39 PM (7 years ago)
- Children:
- 853aeb6
- Parents:
- 5d15cba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gcc-pass2.xml
r5d15cba rd49e97c 71 71 class="directory">/tools</filename>.</para> 72 72 73 <screen><userinput remap="pre">for file in \ 74 $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h) 73 <screen><userinput remap="pre">for file in gcc/config/{linux,i386/linux{,64}}.h 75 74 do 76 75 cp -uv $file{,.orig} … … 85 84 done</userinput></screen> 86 85 86 <para>If building on x86_64, change the default directory name for 64-bit 87 libraries to <quote>lib</quote>:</para> 88 89 <screen><userinput remap="pre">case $(uname -m) in 90 x86_64) 91 sed -e '/m64=/s/lib64/lib/' \ 92 -i.orig gcc/config/i386/t-linux64 93 ;; 94 esac</userinput></screen> 95 87 96 <para>As in the first build of GCC it requires the GMP, MPFR and MPC 88 97 packages. Unpack the tarballs and move them into the required directory … … 118 127 --with-local-prefix=/tools \ 119 128 --with-native-system-header-dir=/tools/include \ 129 --with-slibdir=/tools/lib \ 120 130 --enable-languages=c,c++ \ 121 131 --disable-libstdcxx-pch \
Note:
See TracChangeset
for help on using the changeset viewer.