Changeset 586feb7 in clfs-sysroot for BOOK/cross-tools/arm/glibc-headers.xml
- Timestamp:
- Jul 2, 2006, 12:45:15 PM (18 years ago)
- Branches:
- master
- Children:
- 940e6b3
- Parents:
- 89c10a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/glibc-headers.xml
r89c10a9 r586feb7 68 68 69 69 <screen os="i"><userinput>CC=gcc ../glibc-&glibc-version;/configure --prefix=/usr \ 70 --host=${ LFS_TARGET} --build=${LFS_HOST} \71 --with-headers=${ LFS}/usr/include --cache-file=config.cache</userinput></screen>70 --host=${CLFS_TARGET} --build=${CLFS_HOST} \ 71 --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen> 72 72 73 73 <variablelist os="dj"> … … 82 82 83 83 <varlistentry os="dj2"> 84 <term><parameter>--with-headers=${ LFS}/usr/include</parameter></term>84 <term><parameter>--with-headers=${CLFS}/usr/include</parameter></term> 85 85 <listitem> 86 86 <para>This tells Glibc to compile itself against the headers 87 recently installed to the <filename class="directory">${ LFS}/usr/include</filename>87 recently installed to the <filename class="directory">${CLFS}/usr/include</filename> 88 88 directory, so that it knows exactly what features the kernel has 89 89 and can optimize itself accordingly.</para> … … 101 101 102 102 <para os="n">First we will copy a common file over to <filename 103 class="directory">${ LFS}/usr/include</filename>:</para>103 class="directory">${CLFS}/usr/include</filename>:</para> 104 104 105 <screen os="o"><userinput>install -dv ${ LFS}/usr/include/bits106 cp -v bits/stdio_lim.h ${ LFS}/usr/include/bits</userinput></screen>105 <screen os="o"><userinput>install -dv ${CLFS}/usr/include/bits 106 cp -v bits/stdio_lim.h ${CLFS}/usr/include/bits</userinput></screen> 107 107 108 108 <para os="p">Now we will create a blank stub file:</para> 109 109 110 <screen os="q"><userinput>touch ${ LFS}/usr/include/gnu/stubs.h</userinput></screen>110 <screen os="q"><userinput>touch ${CLFS}/usr/include/gnu/stubs.h</userinput></screen> 111 111 112 112 <para os="r">For NPTL we use the following command:</para> 113 113 114 114 <screen os="s"><userinput>cp -v ../glibc-&glibc-version;/ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h \ 115 ${ LFS}/usr/include/bits</userinput></screen>115 ${CLFS}/usr/include/bits</userinput></screen> 116 116 117 117 </sect2>
Note: See TracChangeset
for help on using the changeset viewer.