www.delorie.com/gnu/docs/glibc/libc_689.html   search  
Buy the book!

The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C. Installing the GNU C Library

Before you do anything else, you should read the file `FAQ' located at the top level of the source tree. This file answers common questions and describes problems you may experience with compilation and installation. It is updated more frequently than this manual.

Features can be added to GNU Libc via add-on bundles. These are separate tar files, which you unpack into the top level of the source tree. Then you give configure the `--enable-add-ons' option to activate them, and they will be compiled into the library. As of the 2.2 release, one important component of glibc is distributed as "official" add-ons: the linuxthreads add-on. Unless you are doing an unusual installation, you should get this.

Support for POSIX threads is maintained by someone else, so it's in a separate package. It is only available for GNU/Linux systems, but this will change in the future. Get it from the same place you got the main bundle; the file is `glibc-linuxthreads-VERSION.tar.gz'.

You will need recent versions of several GNU tools: definitely GCC and GNU Make, and possibly others. See section C.3 Recommended Tools for Compilation, below.

C.1 Configuring and compiling GNU Libc  How to compile and test GNU libc.
C.2 Installing the C Library  How to install it once you've got it compiled.
C.3 Recommended Tools for Compilation  You'll need these first.
C.4 Supported Configurations  What it runs on, what it doesn't.
C.5 Specific advice for GNU/Linux systems  
C.6 Reporting Bugs  So they'll get fixed.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003