62 lines
3.0 KiB
HTML
62 lines
3.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>Glibc 2 HOWTO: Choosing your installation method.</TITLE>
|
|
<LINK HREF="Glibc2-HOWTO-3.html" REL=next>
|
|
<LINK HREF="Glibc2-HOWTO-1.html" REL=previous>
|
|
<LINK HREF="Glibc2-HOWTO.html#toc2" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Glibc2-HOWTO-3.html">Next</A>
|
|
<A HREF="Glibc2-HOWTO-1.html">Previous</A>
|
|
<A HREF="Glibc2-HOWTO.html#toc2">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s2">2. Choosing your installation method.</A></H2>
|
|
|
|
<P>
|
|
<!--
|
|
glibc!installing
|
|
-->
|
|
<P>There are a few ways to install glibc. You can install the libraries
|
|
as a test, using the existing libraries as the default but letting you try
|
|
the new libraries by using different options when compiling your program.
|
|
Installing in this way also makes it easy to remove glibc in the future
|
|
(though any program linked with glibc will no longer work after the
|
|
libraries are removed). Using glibc as a test library requires you to
|
|
compile the libraries from source. There is no binary distribution for
|
|
installing libraries this way. This installation is described in
|
|
<A HREF="Glibc2-HOWTO-4.html#test-install">Installing as a test library</A>.
|
|
<P>The other way described in this document to install is using glibc as
|
|
your primary library. All new programs that you compile on your system
|
|
will use glibc, though you can link programs with your old libraries using
|
|
different options while compiling. You can either install the libraries
|
|
from binaries, or compile the library yourself. If you want to change
|
|
optimization or configuration options, or use an add-on which is not
|
|
distributed as a binary package, you must get the source distribution
|
|
and compile. This installation procedure is described in
|
|
<A HREF="Glibc2-HOWTO-5.html#primary-install">Installing as the primary C library</A>.
|
|
<P>Frodo Looijaard describes yet another way of installing glibc. His
|
|
method involves installing glibc as a secondary library and setting up a
|
|
cross compiler to compile using glibc. The installation procedure for
|
|
this method is more complicated then the test library install described
|
|
in this document, but allows for easier compiling when linking to glibc.
|
|
This method is described in his
|
|
<A HREF="http://huizen.dds.nl/~frodol/glibc/">Installing glibc-2 on Linux</A> document.
|
|
<P>If you are currently running Debian 1.3 but do not want to upgrade to the
|
|
unstable version of Debian to use glibc, the
|
|
<A HREF="http://www.gate.net/~storm/FAQ/libc5-libc6-Mini-HOWTO.html">Debian libc5 to libc6 Mini-HOWTO</A> describes how to use Debian
|
|
packages to upgrade your system.
|
|
<P>If you are installing glibc 2 on an important system, you might want
|
|
to use the test install. Even if there are no bugs, some programs
|
|
will need to be modified before they will compile due to changes in
|
|
function prototypes and types.
|
|
<P>
|
|
<P>
|
|
<HR>
|
|
<A HREF="Glibc2-HOWTO-3.html">Next</A>
|
|
<A HREF="Glibc2-HOWTO-1.html">Previous</A>
|
|
<A HREF="Glibc2-HOWTO.html#toc2">Contents</A>
|
|
</BODY>
|
|
</HTML>
|