Changeset cbfa0a3 for cross-tools/x86/glibc-headers.xml
- Timestamp:
- Feb 21, 2006, 1:56:25 AM (19 years ago)
- Children:
- 07b5f51
- Parents:
- 54e0992
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/x86/glibc-headers.xml
r54e0992 rcbfa0a3 24 24 25 25 <para os="s1">The following sed removes a dependency of gcc 3.4.x from 26 the glibc we are using in cross-lfs. The reason we are changing itis27 because this only installs the headers, no compiling takes place. In the28 next glibc chapter, we use the gcc that's built right after this chapter.</para>26 the glibc used in cross-lfs. The reason it is changed is 27 because only the headers are being installed now; no compiling takes place. 28 In the next glibc build, the gcc that's built right after this section will be used.</para> 29 29 30 30 <screen os="s2"><userinput>cp configure{,.orig} … … 75 75 <term><parameter>CC=gcc</parameter></term> 76 76 <listitem> 77 <para>Tells G LIBC to use the hosts GCC compiler.</para>77 <para>Tells Glibc to use the host's GCC compiler.</para> 78 78 </listitem> 79 79 </varlistentry> … … 123 123 <term><parameter>--with-binutils=/cross-tools/${LFS_TARGET}/bin</parameter></term> 124 124 <listitem> 125 <para>This tells G LIBC to use the binutils for ourspecific target architecture.</para>125 <para>This tells Glibc to use the binutils for the specific target architecture.</para> 126 126 </listitem> 127 127 </varlistentry> … … 133 133 <screen os="cd"><userinput>make install-headers</userinput></screen> 134 134 135 <para os="ce">Some files aren't installed by the above command, so we will copy the additional header files we need:</para>135 <para os="ce">Some files aren't installed by the above command, so copy the additional header files that are needed:</para> 136 136 137 <para os="cf">First we willcopy a common file over to <filename137 <para os="cf">First copy a common file over to <filename 138 138 class="directory">/tools/include</filename>:</para> 139 139 … … 141 141 cp bits/stdio_lim.h /tools/include/bits</userinput></screen> 142 142 143 <para os="ch">Now we willcreate a blank stub file:</para>143 <para os="ch">Now create a blank stub file:</para> 144 144 145 145 <screen os="ci"><userinput>touch /tools/include/gnu/stubs.h</userinput></screen> 146 146 147 <para os="cj">For NPTL weuse the following command:</para>147 <para os="cj">For NPTL use the following command:</para> 148 148 149 149 <screen os="ck"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/pthread/pthread.h /tools/include/</userinput></screen> 150 150 151 <para os="cl">Now wecopy the architecture specific header over:</para>151 <para os="cl">Now copy the architecture specific header over:</para> 152 152 153 153 <screen os="cm"><userinput>cp ../glibc-&glibc-version;/nptl/sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h /tools/include/bits/</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.