Changeset 1b823a37 for temp-system
- Timestamp:
- Feb 21, 2006, 1:17:35 AM (19 years ago)
- Children:
- 4dea801f
- Parents:
- 578c75fc
- Location:
- temp-system
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
temp-system/alpha/gcc.xml
r578c75fc r1b823a37 91 91 xpointer="xpointer(//*[@os='h'])"/> 92 92 93 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \94 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \95 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \96 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \97 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>98 99 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 94 href="../x86/gcc.xml" 101 95 xpointer="xpointer(//*[@os='ck'])"/> 102 96 103 <para>Compile the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc.xml" 99 xpointer="xpointer(//*[@os='cl'])"/> 104 100 105 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 106 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc.xml" 103 xpointer="xpointer(//*[@os='cm'])"/> 107 104 108 <para>Install the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc.xml" 107 xpointer="xpointer(//*[@os='cn'])"/> 109 108 110 <screen><userinput>make install</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc.xml" 111 xpointer="xpointer(//*[@os='co'])"/> 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="../x86/gcc.xml" 115 xpointer="xpointer(//*[@os='cp'])"/> 111 116 112 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 114 119 xpointer="xpointer(//*[@os='w'])"/> 115 120 116 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 122 href="../x86/gcc.xml" 123 xpointer="xpointer(//*[@os='cq'])"/> 117 124 118 125 </sect2> -
temp-system/mips/gcc.xml
r578c75fc r1b823a37 99 99 xpointer="xpointer(//*[@os='h'])"/> 100 100 101 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \102 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \103 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \104 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \105 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>106 107 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 108 102 href="../x86/gcc.xml" 109 103 xpointer="xpointer(//*[@os='ck'])"/> 110 104 111 <para>Compile the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc.xml" 107 xpointer="xpointer(//*[@os='cl'])"/> 112 108 113 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc.xml" 111 xpointer="xpointer(//*[@os='cm'])"/> 112 113 <screen os="cn"><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 114 114 AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 115 115 116 <para>Install the package:</para> 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 117 href="../x86/gcc.xml" 118 xpointer="xpointer(//*[@os='co'])"/> 117 119 118 <screen><userinput>make install</userinput></screen> 120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 121 href="../x86/gcc.xml" 122 xpointer="xpointer(//*[@os='cp'])"/> 119 123 120 124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 122 126 xpointer="xpointer(//*[@os='w'])"/> 123 127 124 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 129 href="../x86/gcc.xml" 130 xpointer="xpointer(//*[@os='cq'])"/> 125 131 126 132 </sect2> -
temp-system/mips64-64/gcc.xml
r578c75fc r1b823a37 115 115 xpointer="xpointer(//*[@os='h'])"/> 116 116 117 <screen ><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \117 <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 118 118 ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \ 119 119 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ … … 127 127 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 128 128 href="../x86_64/gcc.xml" 129 xpointer="xpointer(//*[@os='d c1'])"/>129 xpointer="xpointer(//*[@os='dd1'])"/> 130 130 131 131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 132 132 href="../x86/gcc.xml" 133 xpointer="xpointer(//*[@os='c k1'])"/>133 xpointer="xpointer(//*[@os='cl1'])"/> 134 134 135 135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 136 136 href="../x86/gcc.xml" 137 xpointer="xpointer(//*[@os='c k2'])"/>137 xpointer="xpointer(//*[@os='cl2'])"/> 138 138 139 139 </variablelist> 140 140 141 <para>Compile the package:</para> 141 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 142 href="../x86/gcc.xml" 143 xpointer="xpointer(//*[@os='cm'])"/> 142 144 143 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 144 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 145 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 146 href="../x86/gcc.xml" 147 xpointer="xpointer(//*[@os='cn'])"/> 145 148 146 <para>Install the package:</para> 149 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 150 href="../x86/gcc.xml" 151 xpointer="xpointer(//*[@os='co'])"/> 147 152 148 <screen><userinput>make install</userinput></screen> 153 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 154 href="../x86/gcc.xml" 155 xpointer="xpointer(//*[@os='cp'])"/> 149 156 150 <para>Now we copy the files that are placed in <filename class="directory">/tools/lib64151 </filename> to <filename class="directory">/tools/lib</filename>.152 We also delete the /tools/lib64 directory:</para>157 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 158 href="../x86_64-64/gcc.xml" 159 xpointer="xpointer(//*[@os='dp'])"/> 153 160 154 <screen><userinput>cp -ar /tools/lib64/* /tools/lib 155 rm -rf /tools/lib64</userinput></screen> 161 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 162 href="../x86_64-64/gcc.xml" 163 xpointer="xpointer(//*[@os='dq'])"/> 156 164 157 165 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 159 167 xpointer="xpointer(//*[@os='w'])"/> 160 168 161 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 169 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 170 href="../x86/gcc.xml" 171 xpointer="xpointer(//*[@os='cq'])"/> 162 172 163 173 </sect2> -
temp-system/mips64/gcc.xml
r578c75fc r1b823a37 107 107 xpointer="xpointer(//*[@os='h'])"/> 108 108 109 <screen ><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \109 <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 110 110 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ 111 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \111 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} --with-abi=64 \ 112 112 --libexecdir=/tools/lib64 --with-local-prefix=/tools --enable-long-long \ 113 113 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ … … 118 118 xpointer="xpointer(//*[@os='dc'])"/> 119 119 120 <para>Compile the package:</para> 120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 121 href="../x86/gcc.xml" 122 xpointer="xpointer(//*[@os='cm'])"/> 121 123 122 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 123 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 125 href="../x86/gcc.xml" 126 xpointer="xpointer(//*[@os='cn'])"/> 124 127 125 <para>Install the package:</para> 128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 129 href="../x86/gcc.xml" 130 xpointer="xpointer(//*[@os='co'])"/> 126 131 127 <screen><userinput>make install</userinput></screen> 132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 133 href="../x86/gcc.xml" 134 xpointer="xpointer(//*[@os='cp'])"/> 128 135 129 136 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 131 138 xpointer="xpointer(//*[@os='w'])"/> 132 139 133 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 140 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 141 href="../x86/gcc.xml" 142 xpointer="xpointer(//*[@os='cq'])"/> 134 143 135 144 </sect2> -
temp-system/ppc/gcc.xml
r578c75fc r1b823a37 91 91 xpointer="xpointer(//*[@os='h'])"/> 92 92 93 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \94 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \95 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \96 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \97 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>98 99 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 94 href="../x86/gcc.xml" 101 95 xpointer="xpointer(//*[@os='ck'])"/> 102 96 103 <para>Compile the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc.xml" 99 xpointer="xpointer(//*[@os='cl'])"/> 104 100 105 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 106 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc.xml" 103 xpointer="xpointer(//*[@os='cm'])"/> 107 104 108 <para>Install the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc.xml" 107 xpointer="xpointer(//*[@os='cn'])"/> 109 108 110 <screen><userinput>make install</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc.xml" 111 xpointer="xpointer(//*[@os='co'])"/> 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="../x86/gcc.xml" 115 xpointer="xpointer(//*[@os='cp'])"/> 111 116 112 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 114 119 xpointer="xpointer(//*[@os='w'])"/> 115 120 116 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 122 href="../x86/gcc.xml" 123 xpointer="xpointer(//*[@os='cq'])"/> 117 124 118 125 </sect2> -
temp-system/sparc/gcc.xml
r578c75fc r1b823a37 91 91 xpointer="xpointer(//*[@os='h'])"/> 92 92 93 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/tools \94 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \95 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \96 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \97 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>98 99 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 94 href="../x86/gcc.xml" 101 95 xpointer="xpointer(//*[@os='ck'])"/> 102 96 103 <para>Compile the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc.xml" 99 xpointer="xpointer(//*[@os='cm'])"/> 104 100 105 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 106 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc.xml" 103 xpointer="xpointer(//*[@os='cn'])"/> 107 104 108 <para>Install the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc.xml" 107 xpointer="xpointer(//*[@os='co'])"/> 109 108 110 <screen><userinput>make install</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc.xml" 111 xpointer="xpointer(//*[@os='cp'])"/> 111 112 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 114 115 xpointer="xpointer(//*[@os='w'])"/> 115 116 116 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 118 href="../x86/gcc.xml" 119 xpointer="xpointer(//*[@os='cq'])"/> 117 120 118 121 </sect2> -
temp-system/sparc64-64/gcc.xml
r578c75fc r1b823a37 99 99 xpointer="xpointer(//*[@os='h'])"/> 100 100 101 <screen><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 102 ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \ 103 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ 104 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \ 105 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \ 106 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86_64-64/gcc.xml" 103 xpointer="xpointer(//*[@os='ck'])"/> 107 104 108 105 <variablelist> … … 111 108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 112 109 href="../x86_64/gcc.xml" 113 xpointer="xpointer(//*[@os='d c1'])"/>110 xpointer="xpointer(//*[@os='dd1'])"/> 114 111 115 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 116 113 href="../x86/gcc.xml" 117 xpointer="xpointer(//*[@os='c k1'])"/>114 xpointer="xpointer(//*[@os='cl1'])"/> 118 115 119 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 120 117 href="../x86/gcc.xml" 121 xpointer="xpointer(//*[@os='c k2'])"/>118 xpointer="xpointer(//*[@os='cl2'])"/> 122 119 123 120 </variablelist> 124 121 125 <para>Compile the package:</para> 122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 123 href="../x86_64-64/gcc.xml" 124 xpointer="xpointer(//*[@os='cm'])"/> 126 125 127 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 128 AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 127 href="../sparc64/gcc.xml" 128 xpointer="xpointer(//*[@os='cn'])"/> 129 129 130 <para>Install the package:</para> 130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 131 href="../x86/gcc.xml" 132 xpointer="xpointer(//*[@os='cp'])"/> 131 133 132 <screen><userinput>make install</userinput></screen> 134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 135 href="../x86_64-64/gcc.xml" 136 xpointer="xpointer(//*[@os='dp'])"/> 133 137 134 <para>Now we copy the files that are placed in <filename class="directory">/tools/lib64 135 </filename> to <filename class="directory">/tools/lib</filename>. 136 We also delete the /tools/lib64 directory:</para> 137 138 <screen><userinput>cp -ar /tools/lib64/* /tools/lib 139 rm -rf /tools/lib64</userinput></screen> 138 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 139 href="../x86_64-64/gcc.xml" 140 xpointer="xpointer(//*[@os='dq'])"/> 140 141 141 142 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 143 144 xpointer="xpointer(//*[@os='w'])"/> 144 145 145 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 146 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 147 href="../x86/gcc.xml" 148 xpointer="xpointer(//*[@os='cq'])"/> 146 149 147 150 </sect2> -
temp-system/sparc64/gcc.xml
r578c75fc r1b823a37 99 99 xpointer="xpointer(//*[@os='h'])"/> 100 100 101 <screen><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \102 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \103 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \104 --libexecdir=/tools/lib64 --with-local-prefix=/tools --enable-long-long \105 --enable-c99 --enable-shared --enable-threads=posix --enable-__cxa_atexit \106 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>107 108 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 109 102 href="../x86_64/gcc.xml" 110 103 xpointer="xpointer(//*[@os='dc'])"/> 111 104 112 <para>Compile the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86_64/gcc.xml" 107 xpointer="xpointer(//*[@os='db'])"/> 113 108 114 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc.xml" 111 xpointer="xpointer(//*[@os='cm'])"/> 112 113 <screen os="cn"><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 115 114 AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 116 115 116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 117 href="../x86/gcc.xml" 118 xpointer="xpointer(//*[@os='co'])"/> 119 120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 121 href="../x86/gcc.xml" 122 xpointer="xpointer(//*[@os='cp'])"/> 117 123 <para>Install the package:</para> 118 119 <screen><userinput>make install</userinput></screen>120 124 121 125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 123 127 xpointer="xpointer(//*[@os='w'])"/> 124 128 125 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 130 href="../x86/gcc.xml" 131 xpointer="xpointer(//*[@os='cq'])"/> 126 132 127 133 </sect2> -
temp-system/x86/gcc.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/tools \89 <screen os="ck"><userinput>../gcc-&gcc-version;/configure --prefix=/tools \ 90 90 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ 91 91 --libexecdir=/tools/lib --with-local-prefix=/tools --enable-long-long \ … … 93 93 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 94 94 95 <variablelist os="c k">95 <variablelist os="cl"> 96 96 <title>The meaning of the new configure options:</title> 97 97 98 <varlistentry os="c k1">98 <varlistentry os="cl1"> 99 99 <term><parameter>--libexecdir=/tools/lib</parameter></term> 100 100 <listitem> … … 103 103 </varlistentry> 104 104 105 <varlistentry os="c k2">105 <varlistentry os="cl2"> 106 106 <term><parameter>--disable-libstdcxx-pch</parameter></term> 107 107 <listitem> … … 114 114 </variablelist> 115 115 116 <para >Compile the package:</para>116 <para os="cm">Compile the package:</para> 117 117 118 <screen ><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \118 <screen os="cn"><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 119 119 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 120 120 121 <para >Install the package:</para>121 <para os="co">Install the package:</para> 122 122 123 <screen ><userinput>make install</userinput></screen>123 <screen os="cp"><userinput>make install</userinput></screen> 124 124 125 125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 127 127 xpointer="xpointer(//*[@os='w'])"/> 128 128 129 <screen ><userinput>ln -s gcc /tools/bin/cc</userinput></screen>129 <screen os="cq"><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 130 130 131 131 </sect2> -
temp-system/x86_64-64/gcc.xml
r578c75fc r1b823a37 99 99 xpointer="xpointer(//*[@os='h'])"/> 100 100 101 <screen ><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \101 <screen os="ck"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 102 102 ../gcc-&gcc-version;/configure --prefix=/tools --disable-multilib \ 103 103 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ … … 111 111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 112 112 href="../x86_64/gcc.xml" 113 xpointer="xpointer(//*[@os='d c1'])"/>113 xpointer="xpointer(//*[@os='dd1'])"/> 114 114 115 115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 116 116 href="../x86/gcc.xml" 117 xpointer="xpointer(//*[@os='c k1'])"/>117 xpointer="xpointer(//*[@os='cl1'])"/> 118 118 119 119 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 120 120 href="../x86/gcc.xml" 121 xpointer="xpointer(//*[@os='c k2'])"/>121 xpointer="xpointer(//*[@os='cl2'])"/> 122 122 123 123 </variablelist> 124 124 125 <para>Compile the package:</para> 125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 126 href="../x86/gcc.xml" 127 xpointer="xpointer(//*[@os='cm'])"/> 126 128 127 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 128 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 130 href="../x86/gcc.xml" 131 xpointer="xpointer(//*[@os='cn'])"/> 129 132 130 <para>Install the package:</para> 133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 134 href="../x86/gcc.xml" 135 xpointer="xpointer(//*[@os='co'])"/> 131 136 132 <screen><userinput>make install</userinput></screen> 137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 138 href="../x86/gcc.xml" 139 xpointer="xpointer(//*[@os='cp'])"/> 133 140 134 <para >Now we copy the files that are placed in <filename class="directory">/tools/lib64141 <para os="dp">Now we copy the files that are placed in <filename class="directory">/tools/lib64 135 142 </filename> to <filename class="directory">/tools/lib</filename>. 136 143 We also delete the /tools/lib64 directory:</para> 137 144 138 <screen ><userinput>cp -ar /tools/lib64/* /tools/lib145 <screen os="dq"><userinput>cp -ar /tools/lib64/* /tools/lib 139 146 rm -rf /tools/lib64</userinput></screen> 140 147 … … 143 150 xpointer="xpointer(//*[@os='w'])"/> 144 151 145 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 153 href="../x86/gcc.xml" 154 xpointer="xpointer(//*[@os='cq'])"/> 146 155 147 156 </sect2> -
temp-system/x86_64/gcc.xml
r578c75fc r1b823a37 99 99 xpointer="xpointer(//*[@os='h'])"/> 100 100 101 <screen ><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \101 <screen os="dc"><userinput>CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ 102 102 ../gcc-&gcc-version;/configure --prefix=/tools --libdir=/tools/lib64 \ 103 103 --build=${LFS_HOST} --host=${LFS_TARGET} --target=${LFS_TARGET} \ … … 106 106 --disable-nls --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 107 107 108 <variablelist os="d c">108 <variablelist os="dd"> 109 109 <title>The meaning of the new configure options:</title> 110 110 111 <varlistentry os="d c1">111 <varlistentry os="dd1"> 112 112 <term><parameter>CXX="${CXX} ${BUILD64}"</parameter></term> 113 113 <listitem> 114 <para>This do ...</para>114 <para>This forces the C++ compiler to use our Build 64 FLAGS.</para> 115 115 </listitem> 116 116 </varlistentry> 117 117 118 <varlistentry os="d c2">118 <varlistentry os="dd2"> 119 119 <term><parameter>--libexecdir=/tools/lib64</parameter></term> 120 120 <listitem> 121 <para>This do ...</para> 121 <para>This puts all files that are installed using the libexecdir 122 variable into /tools/lib64.</para> 122 123 </listitem> 123 124 </varlistentry> … … 125 126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 126 127 href="../x86/gcc.xml" 127 xpointer="xpointer(//*[@os='c k2'])"/>128 xpointer="xpointer(//*[@os='cl2'])"/> 128 129 129 130 </variablelist> 130 131 131 <para>Compile the package:</para> 132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 133 href="../x86/gcc.xml" 134 xpointer="xpointer(//*[@os='cm'])"/> 132 135 133 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 134 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 136 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 137 href="../x86/gcc.xml" 138 xpointer="xpointer(//*[@os='cn'])"/> 135 139 136 <para>Install the package:</para> 140 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 141 href="../x86/gcc.xml" 142 xpointer="xpointer(//*[@os='co'])"/> 137 143 138 <screen><userinput>make install</userinput></screen> 144 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 145 href="../x86/gcc.xml" 146 xpointer="xpointer(//*[@os='cp'])"/> 139 147 140 148 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 142 150 xpointer="xpointer(//*[@os='w'])"/> 143 151 144 <screen><userinput>ln -s gcc /tools/bin/cc</userinput></screen> 152 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 153 href="../x86/gcc.xml" 154 xpointer="xpointer(//*[@os='cq'])"/> 145 155 146 156 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.