Changeset 1b823a37
- Timestamp:
- Feb 21, 2006, 1:17:35 AM (19 years ago)
- Children:
- 4dea801f
- Parents:
- 578c75fc
- Files:
-
- 1 added
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/alpha/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \90 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \91 --with-local-prefix=/tools --disable-nls --enable-shared \92 --enable-languages=c,c++ --enable-__cxa_atexit \93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>94 95 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 90 href="../x86/gcc-final.xml" 97 91 xpointer="xpointer(//*[@os='bf'])"/> 98 92 99 <para>Continue with compiling the package:</para> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-final.xml" 95 xpointer="xpointer(//*[@os='bg'])"/> 100 96 101 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 102 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 103 100 104 <para>Install the package:</para> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 105 104 106 <screen><userinput>make install</userinput></screen> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/alpha/gcc-static.xml
r578c75fc r1b823a37 87 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 88 88 href="../x86/gcc-static.xml" 89 xpointer="xpointer(//*[@os='ak'])"/> 90 91 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 92 href="../x86/gcc-static.xml" 89 93 xpointer="xpointer(//*[@os='al'])"/> 90 94 91 <para>Continue with compiling the package:</para> 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 href="../x86/gcc-static.xml" 97 xpointer="xpointer(//*[@os='am'])"/> 92 98 93 <screen><userinput>make all-gcc</userinput></screen> 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 href="../x86/gcc-static.xml" 101 xpointer="xpointer(//*[@os='an'])"/> 94 102 95 <para>Install the package:</para> 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 href="../x86/gcc-static.xml" 105 xpointer="xpointer(//*[@os='ao'])"/> 96 106 97 <screen><userinput>make install-gcc</userinput></screen> 107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 108 href="../x86/gcc-static.xml" 109 xpointer="xpointer(//*[@os='ap'])"/> 110 111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 112 href="../x86/gcc-static.xml" 113 xpointer="xpointer(//*[@os='aq'])"/> 98 114 99 115 </sect2> -
cross-tools/mips/gcc-final.xml
r578c75fc r1b823a37 95 95 xpointer="xpointer(//*[@os='h'])"/> 96 96 97 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \98 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \99 --with-local-prefix=/tools --disable-nls --enable-shared \100 --enable-languages=c,c++ --enable-__cxa_atexit \101 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>102 103 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 98 href="../x86/gcc-final.xml" 105 99 xpointer="xpointer(//*[@os='bf'])"/> 106 100 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bg'])"/> 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bh'])"/> 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bi'])"/> 112 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="../x86/gcc-final.xml" 115 xpointer="xpointer(//*[@os='bj'])"/> 107 116 <para>Continue with compiling the package:</para> 108 117 109 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 110 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 111 112 <para>Install the package:</para> 113 114 <screen><userinput>make install</userinput></screen> 118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 119 href="../x86/gcc-final.xml" 120 xpointer="xpointer(//*[@os='bk'])"/> 115 121 116 122 </sect2> -
cross-tools/mips/gcc-static.xml
r578c75fc r1b823a37 88 88 xpointer="xpointer(//*[@os='h'])"/> 89 89 90 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \91 --host=${LFS_HOST} --target=${LFS_TARGET} \92 --with-local-prefix=/tools --disable-nls --disable-shared \93 --disable-threads --enable-languages=c</userinput></screen>94 95 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 91 href="../x86/gcc-static.xml" 97 92 xpointer="xpointer(//*[@os='al'])"/> 98 93 99 <para>Continue with compiling the package:</para> 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 href="../x86/gcc-static.xml" 96 xpointer="xpointer(//*[@os='am'])"/> 100 97 101 <screen><userinput>make all-gcc</userinput></screen> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../x86/gcc-static.xml" 100 xpointer="xpointer(//*[@os='an'])"/> 102 101 103 <para>Install the package:</para> 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 103 href="../x86/gcc-static.xml" 104 xpointer="xpointer(//*[@os='ao'])"/> 104 105 105 <screen><userinput>make install-gcc</userinput></screen> 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 107 href="../x86/gcc-static.xml" 108 xpointer="xpointer(//*[@os='ap'])"/> 109 110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 111 href="../x86/gcc-static.xml" 112 xpointer="xpointer(//*[@os='aq'])"/> 106 113 107 114 </sect2> -
cross-tools/mips64-64/gcc-final.xml
r578c75fc r1b823a37 103 103 xpointer="xpointer(//*[@os='h'])"/> 104 104 105 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \105 <screen os="bf" ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 106 106 --target=${LFS_TARGET} --host=${LFS_HOST} --with-abi=64 \ 107 107 --with-local-prefix=/tools --disable-nls --enable-shared \ … … 109 109 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 110 110 111 <variablelist >111 <variablelist os="bg"> 112 112 <title>The meaning of the new configure options:</title> 113 113 … … 121 121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 122 122 href="../x86/gcc-final.xml" 123 xpointer="xpointer(//*[@os='b f1'])"/>123 xpointer="xpointer(//*[@os='bg1'])"/> 124 124 125 125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 126 126 href="../x86/gcc-final.xml" 127 xpointer="xpointer(//*[@os='b f2'])"/>127 xpointer="xpointer(//*[@os='bg2'])"/> 128 128 129 129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 130 130 href="../x86/gcc-final.xml" 131 xpointer="xpointer(//*[@os='b f3'])"/>131 xpointer="xpointer(//*[@os='bg3'])"/> 132 132 133 133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 134 134 href="../x86/gcc-final.xml" 135 xpointer="xpointer(//*[@os='b f4'])"/>135 xpointer="xpointer(//*[@os='bg4'])"/> 136 136 137 137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 138 138 href="../x86/gcc-final.xml" 139 xpointer="xpointer(//*[@os='b f5'])"/>139 xpointer="xpointer(//*[@os='bg5'])"/> 140 140 141 141 </variablelist> 142 142 143 <para>Continue with compiling the package:</para> 143 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 144 href="../x86/gcc-final.xml" 145 xpointer="xpointer(//*[@os='bh'])"/> 144 146 145 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 146 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 147 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 148 href="../x86/gcc-final.xml" 149 xpointer="xpointer(//*[@os='bi'])"/> 147 150 148 <para>Install the package:</para> 151 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 152 href="../x86/gcc-final.xml" 153 xpointer="xpointer(//*[@os='bj'])"/> 149 154 150 <screen><userinput>make install</userinput></screen> 155 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 156 href="../x86/gcc-final.xml" 157 xpointer="xpointer(//*[@os='bk'])"/> 151 158 152 159 </sect2> -
cross-tools/mips64-64/gcc-static.xml
r578c75fc r1b823a37 28 28 xpointer="xpointer(//*[@os='aa'])"/> 29 29 30 <screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs_pure64-patch;</userinput></screen> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../x86_64-64/gcc-static.xml" 32 xpointer="xpointer(//*[@os='ab'])"/> 31 33 32 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 54 56 xpointer="xpointer(//*[@os='mb'])"/> 55 57 56 <para os="al">This will allow us to build a 64 bit ABI compiler instead of the default 57 n32:</para> 58 59 <screen os="am"><userinput>patch -Np1 -i ../&gcc-mips_pure64-patch;</userinput></screen> 60 61 <para os="ag">Now we will need to setup our StartFile Spec to the correct library 62 location:</para> 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../x86/gcc-static.xml" 60 xpointer="xpointer(//*[@os='ag'])"/> 63 61 64 62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 90 88 xpointer="xpointer(//*[@os='h'])"/> 91 89 92 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \90 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 93 91 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-mutlilib \ 94 92 --with-local-prefix=/tools --disable-nls --disable-shared \ … … 97 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 96 href="../x86/gcc-static.xml" 99 xpointer="xpointer(//*[@os='a l'])"/>97 xpointer="xpointer(//*[@os='am'])"/> 100 98 101 <para>Continue with compiling the package:</para> 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 href="../x86/gcc-static.xml" 101 xpointer="xpointer(//*[@os='an'])"/> 102 102 103 <screen><userinput>make all-gcc</userinput></screen> 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 href="../x86/gcc-static.xml" 105 xpointer="xpointer(//*[@os='ao'])"/> 104 106 105 < para>Install the package:</para>106 107 <screen><userinput>make install-gcc</userinput></screen>107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 108 href="../x86/gcc-static.xml" 109 xpointer="xpointer(//*[@os='ap'])"/> 108 110 109 111 </sect2> -
cross-tools/mips64/gcc-final.xml
r578c75fc r1b823a37 95 95 xpointer="xpointer(//*[@os='h'])"/> 96 96 97 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 98 --target=${LFS_TARGET} --host=${LFS_HOST} \ 99 --with-local-prefix=/tools --disable-nls --enable-shared \ 100 --enable-languages=c,c++ --enable-__cxa_atexit \ 101 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86_64/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bf'])"/> 102 100 103 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 102 href="../x86/gcc-final.xml" 105 xpointer="xpointer(//*[@os='b f'])"/>103 xpointer="xpointer(//*[@os='bg'])"/> 106 104 107 <para>Continue with compiling the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bh'])"/> 108 108 109 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 110 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bi'])"/> 111 112 112 <para>Install the package:</para> 113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 114 href="../x86/gcc-final.xml" 115 xpointer="xpointer(//*[@os='bj'])"/> 113 116 114 <screen><userinput>make install</userinput></screen> 117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 118 href="../x86/gcc-final.xml" 119 xpointer="xpointer(//*[@os='bk'])"/> 115 120 116 121 </sect2> -
cross-tools/mips64/gcc-static.xml
r578c75fc r1b823a37 88 88 xpointer="xpointer(//*[@os='h'])"/> 89 89 90 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 91 --host=${LFS_HOST} --target=${LFS_TARGET} \ 92 --with-local-prefix=/tools --disable-nls --disable-shared \ 93 --disable-threads --enable-languages=c</userinput></screen> 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../x86_64/gcc-static.xml" 92 xpointer="xpointer(//*[@os='al'])"/> 94 93 95 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 95 href="../x86/gcc-static.xml" 97 xpointer="xpointer(//*[@os='a l'])"/>96 xpointer="xpointer(//*[@os='am'])"/> 98 97 99 <para>Continue with compiling the package:</para> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../x86/gcc-static.xml" 100 xpointer="xpointer(//*[@os='an'])"/> 100 101 101 <screen><userinput>make all-gcc</userinput></screen> 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 103 href="../x86/gcc-static.xml" 104 xpointer="xpointer(//*[@os='ao'])"/> 102 105 103 <para>Install the package:</para> 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 107 href="../x86/gcc-static.xml" 108 xpointer="xpointer(//*[@os='ap'])"/> 104 109 105 <screen><userinput>make install-gcc</userinput></screen> 110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 111 href="../x86/gcc-static.xml" 112 xpointer="xpointer(//*[@os='aq'])"/> 106 113 107 114 </sect2> -
cross-tools/ppc/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \90 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \91 --with-local-prefix=/tools --disable-nls --enable-shared \92 --enable-languages=c,c++ --enable-__cxa_atexit \93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>94 95 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 90 href="../x86/gcc-final.xml" 97 91 xpointer="xpointer(//*[@os='bf'])"/> 98 92 99 <para>Continue with compiling the package:</para> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-final.xml" 95 xpointer="xpointer(//*[@os='bg'])"/> 100 96 101 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 102 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 103 100 104 <para>Install the package:</para> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 105 104 106 <screen><userinput>make install</userinput></screen> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/ppc/gcc-static.xml
r578c75fc r1b823a37 60 60 xpointer="xpointer(//*[@os='ai'])"/> 61 61 62 <screen os="aj"><userinput>cp gcc/Makefile.in{,.orig} 63 sed "s@\(^CROSS_SYSTEM_HEADER_DIR =\).*@\1 /tools/include@g" \ 64 gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 63 href="../x86/gcc-static.xml" 64 xpointer="xpointer(//*[@os='aj'])"/> 65 65 66 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 80 80 xpointer="xpointer(//*[@os='h'])"/> 81 81 82 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \83 --host=${LFS_HOST} --target=${LFS_TARGET} \84 --with-local-prefix=/tools --disable-nls --disable-shared \85 --disable-threads --enable-languages=c</userinput></screen>86 87 82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 88 83 href="../x86/gcc-static.xml" 89 84 xpointer="xpointer(//*[@os='al'])"/> 90 85 91 <para>Continue with compiling the package:</para> 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 href="../x86/gcc-static.xml" 88 xpointer="xpointer(//*[@os='am'])"/> 92 89 93 <screen><userinput>make all-gcc</userinput></screen> 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../x86/gcc-static.xml" 92 xpointer="xpointer(//*[@os='an'])"/> 94 93 95 <para>Install the package:</para> 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 href="../x86/gcc-static.xml" 96 xpointer="xpointer(//*[@os='ao'])"/> 96 97 97 <screen><userinput>make install-gcc</userinput></screen> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../x86/gcc-static.xml" 100 xpointer="xpointer(//*[@os='ap'])"/> 101 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 103 href="../x86/gcc-static.xml" 104 xpointer="xpointer(//*[@os='aq'])"/> 98 105 99 106 </sect2> -
cross-tools/sparc/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \90 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \91 --with-local-prefix=/tools --disable-nls --enable-shared \92 --enable-languages=c,c++ --enable-__cxa_atexit \93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>94 95 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 90 href="../x86/gcc-final.xml" 97 91 xpointer="xpointer(//*[@os='bf'])"/> 98 92 99 <para>Continue with compiling the package:</para> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-final.xml" 95 xpointer="xpointer(//*[@os='bg'])"/> 100 96 101 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 102 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 103 100 104 <para>Install the package:</para> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 105 104 106 <screen><userinput>make install</userinput></screen> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/sparc/gcc-static.xml
r578c75fc r1b823a37 80 80 xpointer="xpointer(//*[@os='h'])"/> 81 81 82 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \83 --host=${LFS_HOST} --target=${LFS_TARGET} \84 --with-local-prefix=/tools --disable-nls --disable-shared \85 --disable-threads --enable-languages=c</userinput></screen>86 87 82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 88 83 href="../x86/gcc-static.xml" 89 84 xpointer="xpointer(//*[@os='al'])"/> 90 85 91 <para>Continue with compiling the package:</para> 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 87 href="../x86/gcc-static.xml" 88 xpointer="xpointer(//*[@os='am'])"/> 92 89 93 <screen><userinput>make all-gcc</userinput></screen> 90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 href="../x86/gcc-static.xml" 92 xpointer="xpointer(//*[@os='an'])"/> 94 93 95 <para>Install the package:</para> 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 href="../x86/gcc-static.xml" 96 xpointer="xpointer(//*[@os='ao'])"/> 96 97 97 <screen><userinput>make install-gcc</userinput></screen> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../x86/gcc-static.xml" 100 xpointer="xpointer(//*[@os='ap'])"/> 101 102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 103 href="../x86/gcc-static.xml" 104 xpointer="xpointer(//*[@os='aq'])"/> 98 105 99 106 </sect2> -
cross-tools/sparc64-64/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 90 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \ 91 --with-local-prefix=/tools --disable-nls --enable-shared \ 92 --enable-languages=c,c++ --enable-__cxa_atexit \ 93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../x86_64/gcc-final.xml" 91 xpointer="xpointer(//*[@os='bf'])"/> 94 92 95 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 94 href="../x86/gcc-final.xml" 97 xpointer="xpointer(//*[@os='b f'])"/>95 xpointer="xpointer(//*[@os='bg'])"/> 98 96 99 <para>Continue with compiling the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 100 100 101 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 102 AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" 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-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 103 104 104 <para>Install the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 105 108 106 <screen><userinput>make install</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/sparc64-64/gcc-static.xml
r578c75fc r1b823a37 78 78 xpointer="xpointer(//*[@os='h'])"/> 79 79 80 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 81 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \ 82 --with-local-prefix=/tools --disable-nls --disable-shared \ 83 --disable-threads --enable-languages=c</userinput></screen> 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../x86_64/gcc-static.xml" 82 xpointer="xpointer(//*[@os='al'])"/> 84 83 85 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 85 href="../x86/gcc-static.xml" 87 xpointer="xpointer(//*[@os='a l'])"/>86 xpointer="xpointer(//*[@os='am'])"/> 88 87 89 <para>Continue with compiling the package:</para> 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../x86/gcc-static.xml" 90 xpointer="xpointer(//*[@os='an'])"/> 90 91 91 92 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" all-gcc</userinput></screen> 92 93 93 <para>Install the package:</para> 94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 95 href="../x86/gcc-static.xml" 96 xpointer="xpointer(//*[@os='ap'])"/> 94 97 95 <screen><userinput>make install-gcc</userinput></screen> 98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 99 href="../x86/gcc-static.xml" 100 xpointer="xpointer(//*[@os='aq'])"/> 96 101 97 102 </sect2> -
cross-tools/sparc64/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 90 --target=${LFS_TARGET} --host=${LFS_HOST} \ 91 --with-local-prefix=/tools --disable-nls --enable-shared \ 92 --enable-languages=c,c++ --enable-__cxa_atexit \ 93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../x86_64/gcc-final.xml" 91 xpointer="xpointer(//*[@os='bf'])"/> 94 92 95 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 94 href="../x86/gcc-final.xml" 97 xpointer="xpointer(//*[@os='b f'])"/>95 xpointer="xpointer(//*[@os='bg'])"/> 98 96 99 <para>Continue with compiling the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 100 100 101 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" CXXFLAGS_FOR_TARGET="${GCCTARGET}" \ 102 AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" 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-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 103 104 104 <para>Install the package:</para> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 105 108 106 <screen><userinput>make install</userinput></screen> 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/sparc64/gcc-static.xml
r578c75fc r1b823a37 83 83 xpointer="xpointer(//*[@os='h'])"/> 84 84 85 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 86 --host=${LFS_HOST} --target=${LFS_TARGET} \ 87 --with-local-prefix=/tools --disable-nls --disable-shared \ 88 --disable-threads --enable-languages=c</userinput></screen> 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 href="../x86_64/gcc-static.xml" 87 xpointer="xpointer(//*[@os='al'])"/> 89 88 90 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 91 90 href="../x86/gcc-static.xml" 92 xpointer="xpointer(//*[@os='a l'])"/>91 xpointer="xpointer(//*[@os='am'])"/> 93 92 94 <para>Continue with compiling the package:</para> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-static.xml" 95 xpointer="xpointer(//*[@os='an'])"/> 95 96 96 97 <screen><userinput>make CFLAGS_FOR_TARGET="${GCCTARGET}" all-gcc</userinput></screen> 97 98 98 <para>Install the package:</para> 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 href="../x86/gcc-static.xml" 101 xpointer="xpointer(//*[@os='ap'])"/> 99 102 100 <screen><userinput>make install-gcc</userinput></screen> 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 href="../x86/gcc-static.xml" 105 xpointer="xpointer(//*[@os='aq'])"/> 101 106 102 107 </sect2> -
cross-tools/x86/gcc-final.xml
r578c75fc r1b823a37 85 85 xpointer="xpointer(//*[@os='h'])"/> 86 86 87 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \87 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 88 88 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \ 89 89 --with-local-prefix=/tools --disable-nls --enable-shared \ … … 91 91 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen> 92 92 93 <variablelist os="b f">93 <variablelist os="bg"> 94 94 <title>The meaning of the new configure options:</title> 95 95 96 <varlistentry os="b f1">96 <varlistentry os="bg1"> 97 97 <term><parameter>--enable-languages=c,c++</parameter></term> 98 98 <listitem> … … 101 101 </varlistentry> 102 102 103 <varlistentry os="b f2">103 <varlistentry os="bg2"> 104 104 <term><parameter>--enable-__cxa_atexit</parameter></term> 105 105 <listitem> … … 112 112 </varlistentry> 113 113 114 <varlistentry os="b f3">114 <varlistentry os="bg3"> 115 115 <term><parameter>--enable-c99</parameter></term> 116 116 <listitem> … … 119 119 </varlistentry> 120 120 121 <varlistentry os="b f4">121 <varlistentry os="bg4"> 122 122 <term><parameter>--enable-long-long</parameter></term> 123 123 <listitem> … … 126 126 </varlistentry> 127 127 128 <varlistentry os="b f5">128 <varlistentry os="bg5"> 129 129 <term><parameter>--enable-threads=posix</parameter></term> 130 130 <listitem> … … 135 135 </variablelist> 136 136 137 <para >Continue with compiling the package:</para>137 <para os="bh">Continue with compiling the package:</para> 138 138 139 <screen ><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \139 <screen os="bi"><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 140 140 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 141 141 142 <para >Install the package:</para>142 <para os="bj">Install the package:</para> 143 143 144 <screen ><userinput>make install</userinput></screen>144 <screen os="bk"><userinput>make install</userinput></screen> 145 145 146 146 </sect2> -
cross-tools/x86/gcc-static.xml
r578c75fc r1b823a37 72 72 xpointer="xpointer(//*[@os='h'])"/> 73 73 74 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \74 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 75 75 --host=${LFS_HOST} --target=${LFS_TARGET} \ 76 76 --with-local-prefix=/tools --disable-nls --disable-shared \ 77 77 --disable-threads --enable-languages=c</userinput></screen> 78 78 79 <variablelist os="a l">79 <variablelist os="am"> 80 80 <title>The meaning of the configure options:</title> 81 81 … … 117 117 </variablelist> 118 118 119 <para >Continue with compiling the package:</para>119 <para os="an">Continue with compiling the package:</para> 120 120 121 <screen ><userinput>make all-gcc</userinput></screen>121 <screen os="ao"><userinput>make all-gcc</userinput></screen> 122 122 123 <para >Install the package:</para>123 <para os="ap">Install the package:</para> 124 124 125 <screen ><userinput>make install-gcc</userinput></screen>125 <screen os="aq"><userinput>make install-gcc</userinput></screen> 126 126 127 127 </sect2> -
cross-tools/x86_64-64/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \90 --target=${LFS_TARGET} --host=${LFS_HOST} --disable-multilib \91 --with-local-prefix=/tools --disable-nls --enable-shared \92 --enable-languages=c,c++ --enable-__cxa_atexit \93 --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>94 95 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 90 href="../x86/gcc-final.xml" 97 91 xpointer="xpointer(//*[@os='bf'])"/> 98 92 99 <para>Continue with compiling the package:</para> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-final.xml" 95 xpointer="xpointer(//*[@os='bg'])"/> 100 96 101 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 102 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-final.xml" 99 xpointer="xpointer(//*[@os='bh'])"/> 103 100 104 <para>Install the package:</para> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-final.xml" 103 xpointer="xpointer(//*[@os='bi'])"/> 105 104 106 <screen><userinput>make install</userinput></screen> 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-final.xml" 107 xpointer="xpointer(//*[@os='bj'])"/> 108 109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 110 href="../x86/gcc-final.xml" 111 xpointer="xpointer(//*[@os='bk'])"/> 107 112 108 113 </sect2> -
cross-tools/x86_64-64/gcc-static.xml
r578c75fc r1b823a37 78 78 xpointer="xpointer(//*[@os='h'])"/> 79 79 80 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \80 <screen os="al"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 81 81 --host=${LFS_HOST} --target=${LFS_TARGET} --disable-multilib \ 82 82 --with-local-prefix=/tools --disable-nls --disable-shared \ … … 85 85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 86 86 href="../x86/gcc-static.xml" 87 xpointer="xpointer(//*[@os='a l'])"/>87 xpointer="xpointer(//*[@os='ak'])"/> 88 88 89 <para>Continue with compiling the package:</para> 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 90 href="../x86/gcc-static.xml" 91 xpointer="xpointer(//*[@os='am'])"/> 90 92 91 <screen><userinput>make all-gcc</userinput></screen> 93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 94 href="../x86/gcc-static.xml" 95 xpointer="xpointer(//*[@os='an'])"/> 92 96 93 <para>Install the package:</para> 97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 98 href="../x86/gcc-static.xml" 99 xpointer="xpointer(//*[@os='ao'])"/> 94 100 95 <screen><userinput>make install-gcc</userinput></screen> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../x86/gcc-static.xml" 103 xpointer="xpointer(//*[@os='ap'])"/> 104 105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 106 href="../x86/gcc-static.xml" 107 xpointer="xpointer(//*[@os='aq'])"/> 96 108 97 109 </sect2> -
cross-tools/x86_64/gcc-final.xml
r578c75fc r1b823a37 87 87 xpointer="xpointer(//*[@os='h'])"/> 88 88 89 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \89 <screen os="bf"><userinput>../gcc-&gcc-version;/configure --prefix=/cross-tools \ 90 90 --target=${LFS_TARGET} --host=${LFS_HOST} \ 91 91 --with-local-prefix=/tools --disable-nls --enable-shared \ … … 95 95 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 96 96 href="../x86/gcc-final.xml" 97 xpointer="xpointer(//*[@os='b f'])"/>97 xpointer="xpointer(//*[@os='bg'])"/> 98 98 99 <para>Continue with compiling the package:</para> 99 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 100 href="../x86/gcc-final.xml" 101 xpointer="xpointer(//*[@os='bh'])"/> 100 102 101 <screen><userinput>make AS_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-as" \ 102 LD_FOR_TARGET="/cross-tools/bin/${LFS_TARGET}-ld"</userinput></screen> 103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 104 href="../x86/gcc-final.xml" 105 xpointer="xpointer(//*[@os='bi'])"/> 103 106 104 <para>Install the package:</para> 107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 108 href="../x86/gcc-final.xml" 109 xpointer="xpointer(//*[@os='bj'])"/> 105 110 106 <screen><userinput>make install</userinput></screen> 111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 112 href="../x86/gcc-final.xml" 113 xpointer="xpointer(//*[@os='bk'])"/> 107 114 108 115 </sect2> -
final-system/64/gcc.xml
r578c75fc r1b823a37 47 47 xpointer="xpointer(//*[@os='h'])"/> 48 48 49 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/usr \49 <screen os="i"><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 50 50 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 51 51 --enable-__cxa_atexit --enable-c99 --enable-long-long \ -
final-system/common/gcc.xml
r578c75fc r1b823a37 50 50 <para os="h">Prepare GCC for compilation:</para> 51 51 52 <screen ><userinput>../gcc-&gcc-version;/configure --prefix=/usr \52 <screen os="i"><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 53 53 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 54 54 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 55 55 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 56 56 57 <para os=" i">Compile the package:</para>58 59 <screen os=" j"><userinput>make</userinput></screen>60 61 <important os=" k">57 <para os="j">Compile the package:</para> 58 59 <screen os="k"><userinput>make</userinput></screen> 60 61 <important os="l"> 62 62 <para>In this section, the test suite for GCC is considered 63 63 critical. Do not skip it under any circumstance.</para> 64 64 </important> 65 65 66 <para os=" l">Test the results, but do not stop at errors:</para>67 68 <screen os=" m"><userinput>make -k check</userinput></screen>69 70 <para os=" n">The <parameter>-k</parameter> flag is used to make the test suite66 <para os="m">Test the results, but do not stop at errors:</para> 67 68 <screen os="n"><userinput>make -k check</userinput></screen> 69 70 <para os="o">The <parameter>-k</parameter> flag is used to make the test suite 71 71 run through to completion and not stop at the first failure. The GCC test 72 72 suite is very comprehensive and is almost guaranteed to generate a few 73 73 failures. To receive a summary of the test suite results, run:</para> 74 74 75 <screen os=" o"><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen>76 77 <para os=" p">For only the summaries, pipe the output through75 <screen os="p"><userinput>../gcc-&gcc-version;/contrib/test_summary</userinput></screen> 76 77 <para os="q">For only the summaries, pipe the output through 78 78 <userinput>grep -A7 Summ</userinput>.</para> 79 80 <para os="q">Results can be compared with those located at <ulink81 url="&test-results;"/>.</para>82 79 83 80 <para os="r">A few unexpected failures cannot always be avoided. The 84 81 GCC developers are usually aware of these issues, but have not 85 resolved them yet. Unless the test results are vastly different from 86 those at the above URL, it is safe to continue.</para> 82 resolved them yet.</para> 87 83 88 84 <para os="s">Install the package:</para> … … 112 108 <seglistitem> 113 109 <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg> 114 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.[a,so], and 110 <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libmudflap.[a,so], 111 libmudflapth.[a,so], libstdc++.[a,so], and 115 112 libsupc++.a</seg> 116 113 </seglistitem> -
final-system/mips/gcc.xml
r578c75fc r1b823a37 46 46 href="../common/gcc.xml" 47 47 xpointer="xpointer(//*[@os='h'])"/> 48 49 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \50 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \51 --enable-__cxa_atexit --enable-c99 --enable-long-long \52 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen>53 48 54 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
final-system/mips64-64/gcc.xml
r578c75fc r1b823a37 30 30 xpointer="xpointer(//*[@os='p2'])"/> 31 31 32 <para os="ma">The following patch ensures that TLS is utilized by GCC 33 for MIPS:</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../mips/gcc.xml" 34 xpointer="xpointer(//*[@os='ma'])"/> 34 35 35 <screen os="mb"><userinput>patch -Np1 -i ../&gcc-mips_tls-patch;</userinput></screen> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../mips/gcc.xml" 38 xpointer="xpointer(//*[@os='mb'])"/> 36 39 37 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 55 58 xpointer="xpointer(//*[@os='h'])"/> 56 59 57 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 58 --libexecdir=/usr/lib --enable-shared --enable-threads=posix --with-abi=64 \ 59 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 60 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 60 <screen os="i"><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 61 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 62 --enable-__cxa_atexit --enable-c99 --enable-long-long --with-abi=64 \ 63 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch \ 64 --disable-multilib</userinput></screen> 61 65 62 66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
final-system/mips64/gcc.xml
r578c75fc r1b823a37 22 22 <title>Installation of GCC</title> 23 23 24 <para os="ma">The following patch ensures that TLS is utilized by GCC 25 for MIPS:</para> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../mips/gcc.xml" 26 xpointer="xpointer(//*[@os='ma'])"/> 26 27 27 <screen os="mb"><userinput>patch -Np1 -i ../&gcc-mips_tls-patch;</userinput></screen> 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../mips/gcc.xml" 30 xpointer="xpointer(//*[@os='mb'])"/> 28 31 29 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 47 50 xpointer="xpointer(//*[@os='h'])"/> 48 51 49 <screen><userinput>../gcc-&gcc-version;/configure --prefix=/usr \ 50 --libexecdir=/usr/lib --enable-shared --enable-threads=posix \ 51 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 52 <screen os="i"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 53 ../gcc-&gcc-version;/configure --prefix=/usr --libdir=/usr/lib64 \ 54 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix \ 55 --enable-__cxa_atexit --enable-c99 --enable-long-long --with-abi=64 \ 52 56 --enable-clocale=gnu --enable-languages=c,c++ --disable-libstdcxx-pch</userinput></screen> 53 57 -
final-system/multilib/gcc.xml
r578c75fc r1b823a37 42 42 xpointer="xpointer(//*[@os='h'])"/> 43 43 44 <screen ><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \44 <screen os="i"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 45 45 ../gcc-&gcc-version;/configure --prefix=/usr --libdir=/usr/lib64 \ 46 46 --libexecdir=/usr/lib64 --enable-shared --enable-threads=posix \ -
introduction/common/changelog.xml
r578c75fc r1b823a37 38 38 39 39 <listitem> 40 <para>November 27 2005</para> 41 <itemizedlist> 42 <listitem> 43 <para>[jim] - Text updates to gcc in all sections.</para> 44 </listitem> 45 </itemizedlist> 46 </listitem> 47 48 <listitem> 40 49 <para>November 25 2005</para> 41 50 <itemizedlist> -
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.