Changeset cbfa0a3 for cross-tools/x86
- Timestamp:
- Feb 21, 2006, 1:56:25 AM (19 years ago)
- Children:
- 07b5f51
- Parents:
- 54e0992
- Location:
- cross-tools/x86
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cross-tools/x86/gcc-static.xml
r54e0992 rcbfa0a3 24 24 and no Threads</title> 25 25 26 <para os="aa"> We willmake a couple of essential adjustments to the specs file26 <para os="aa">First make a couple of essential adjustments to the specs file 27 27 to point to use our build environment:</para> 28 28 29 29 <screen os="ab"><userinput>patch -Np1 -i ../&gcc-specs-patch;</userinput></screen> 30 30 31 <para os="ac">To make sure that we use the proper syntax for a couple of tools,32 weapply the following patch:</para>31 <para os="ac">To make sure that a couple of tools use the proper syntax, 32 apply the following patch:</para> 33 33 34 34 <screen os="ad"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen> … … 41 41 <screen os="af"><userinput>patch -Np1 -i ../&gcc-cross_search-patch;</userinput></screen> 42 42 43 <para os="ag">Now we will need to setup ourStartFile Spec to the correct library43 <para os="ag">Now setup the StartFile Spec to the correct library 44 44 location:</para> 45 45 … … 48 48 #define STARTFILE_PREFIX_SPEC \"/tools/lib/\"" >> gcc/config/linux.h</userinput></screen> 49 49 50 <para os="ai">Now we willalter <command>gcc</command>'s c preprocessors default50 <para os="ai">Now alter <command>gcc</command>'s c preprocessors default 51 51 include search path to use <filename class="directory">/tools</filename> only:</para> 52 52 … … 102 102 <listitem> 103 103 <para>This will prevent GCC from finding the multi-thread 104 include files, since we haven't created themfor this architecture105 yet. Wewill be able to find the multi-thread information after106 we create the Glibc headers.</para>104 include files, since they haven't been created for this architecture 105 yet. GCC will be able to find the multi-thread information after 106 the Glibc headers are created.</para> 107 107 </listitem> 108 108 </varlistentry> -
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.