Changeset 76b06f6 for BOOK/cross-tools/x86_64
- Timestamp:
- Sep 24, 2013, 11:53:17 AM (12 years ago)
- Children:
- 2e9ccbe
- Parents:
- 111b12a
- Location:
- BOOK/cross-tools/x86_64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/x86_64/eglibc.xml
r111b12a r76b06f6 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 30 href="../common/eglibc.xml" 31 xpointer="xpointer(//*[@os='db'])"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 href="../common/eglibc.xml" 35 xpointer="xpointer(//*[@os='dc'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/eglibc.xml" 31 39 xpointer="xpointer(//*[@os='e'])"/> 32 40 … … 49 57 <screen os="df"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ 50 58 AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \ 51 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET32) - O2" \59 CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET32) -mtune=generic -g -O2" \ 52 60 ../eglibc-&eglibc-version;/configure --prefix=/tools \ 53 61 --host=${CLFS_TARGET32} --build=${CLFS_HOST} \ 54 62 --disable-profile --with-tls --enable-kernel=2.6.32 --with-__thread \ 55 63 --with-binutils=/cross-tools/bin --with-headers=/tools/include \ 56 -- enable-obsolete-rpc --cache-file=config.cache</userinput></screen>64 --cache-file=config.cache</userinput></screen> 57 65 58 66 <variablelist os="dg"> … … 77 85 <varlistentry os="ea2"> 78 86 <term><parameter>CFLAGS="-march=$(cut -d- -f1 <<< 79 $CLFS_TARGET32) - O2"</parameter></term>87 $CLFS_TARGET32) -mtune=generic -g -O2"</parameter></term> 80 88 <listitem> 81 89 <para>Forces EGLIBC to optimize for our target system.</para> -
BOOK/cross-tools/x86_64/linux-headers.xml
r111b12a r76b06f6 31 31 xpointer="xpointer(//*[@os='b'])"/> 32 32 33 <screen os="c"><userinput>make mrproper 33 <screen os="c"><userinput>install -dv /tools/include 34 make mrproper 34 35 make ARCH=x86_64 headers_check 35 make ARCH=x86_64 INSTALL_HDR_PATH=/tools headers_install</userinput></screen> 36 make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install 37 cp -rv dest/include/* /tools/include</userinput></screen> 36 38 37 39 <variablelist os="d"> … … 51 53 52 54 <varlistentry os="d3"> 53 <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH= /toolsheaders_install</parameter></term>55 <term><parameter>make ARCH=x86_64 INSTALL_HDR_PATH=dest headers_install</parameter></term> 54 56 <listitem> 55 <para>This will install the kernel headers into 56 <filename class="directory">/tools/include</filename>.</para> 57 <para>Normally the headers_install target removes the entire 58 destination directory (default 59 <filename class="directory">/usr/include</filename>) before 60 installing the headers. To prevent this, we tell the kernel to 61 install the headers to a directory inside the source dir.</para> 57 62 </listitem> 58 63 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.