[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

building glibc-2.3.2 on 164SX



Hi folks:

I'm attempting to build glibc-2.3.2 on my RH 7.2 system (a 164SX).  I read
the FAQ and build instructions, and the section about add-ons are not quite
clear to me.  Questions:

1. what are add-ons, and why are they a separate download?
2. if I "run" /lib/libc.so.6.1, I get this:

GNU C Library stable release version 2.2.4, by Roland McGrath et al.
Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.2).
Compiled on a Linux 2.4.9-9 system on 2003-03-21.
Available extensions:
    GNU libio by Per Bothner
    crypt add-on version 2.1 by Michael Glad and others
    The C stubs add-on version 2.1.2.
    linuxthreads-0.9 by Xavier Leroy
    BIND-8.2.3-T5B
    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
    Glibc-2.0 compatibility add-on by Cristian Gafton
    libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' script to <bugs gnu org>.

So I gather that the glibc I have right now has these add-on compiled in:
libio, crypt, C stubs, linuxthreads, BIND, NIS(YP)/NIS+ NSS. Glibc-2.0
compatibility, and libthread_db.  I should compile these in the new glibc
too, right?

3. where do I get these add-ons?  I found linuxthreads in the same download
directory as the glibc, but not the rest of them.
4. I'm running kernel 2.4.22 (vanilla kernel.org sources compiled for 164SX
using gcc-2.96).  The glibc build instructions say I should grab the latest
kernel headers and put them in <linux/*.h> and <asm/*.h> in the top-level
glibc source directory.  I have the kernel headers in
<.../linux-2.4.22/include/linux/*.h> and <.../linux-2.4.22/include/asm/*.h>.
If I just make symbolic links to these locations from the top-level glibc
sirectory, would that work?
5. the build instructions tell me to get the *latest* kernel headers.
Should I get 2.6 headers, or are the headers from 2.4.22 okay?

I may have more questions later.  Thanks for reading this far.  Appreciate
all help I can get.

Rajiv




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]