?? glibc.html
字號:
<HTML><HEAD><TITLE>Installing Glibc-2.2.4</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Entering the chroot'ed environment"HREF="../chapter06/chroot.html"><LINKREL="NEXT"TITLE="Creating devices (Makedev-1.4)"HREF="../chapter06/makedev.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/chroot.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/makedev.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-glibc">6.5. Installing Glibc-2.2.4</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time: 46 minutesEstimated required disk space: 350 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN1733">6.5.1. Installation of Glibc</A></H2><P>Before starting to install glibc, you must cd into theglibc-2.2.4 directory and unpack glibc-linuxthreads insidethe glibc-2.2.4 directory, not in /usr/src as you normallywould do.</P><P>This package is known to behave badly when you have changed its defaultoptimization flags (including the -march and -mcpu options). Glibc is best left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and othersuch variables/settings that would change the default optimization thatit comes with.</P><P>Install Glibc by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>mknod -m 0666 /dev/null c 1 3 &&touch /etc/ld.so.conf &&cp malloc/Makefile malloc/Makefile.backup &&sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile > tmp~ &&mv tmp~ malloc/Makefile &&cp login/Makefile login/Makefile.backup &&sed 's/root/0/' login/Makefile > tmp~ &&mv tmp~ login/Makefile &&mkdir ../glibc-build &&cd ../glibc-build &&../glibc-2.2.4/configure --prefix=/usr \牋
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -