Re: feature tests for pthreads implementation and configuration?



On Thu, 23 Mar 2006 12:22:55 -0800, loic-dev wrote:


Yes. Pls look at:
http://kasperd.net/~kasperd/comp.os.linux.development.faq#nptl

On my distro, Debian Sid,
egrep -i 'linuxthreads|nptl|Native POSIX Threads Library'

$ `ldd /bin/ls | grep libc.so.6 | cut -d' ' -f 3` GNU C Library stable release version 2.3.6, by Roland McGrath et al.
Copyright (C) 2005 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 4.0.3 (Debian 4.0.3-1).
Compiled on a Linux 2.6.13 system on 2006-03-18.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

$ dpkg -s libc6-i686
Package: libc6-i686
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 2352
Maintainer: GNU Libc Maintainers <debian-glibc@xxxxxxxxxxxxxxxx>
Architecture: i386
Source: glibc
Version: 2.3.6-4
Pre-Depends: libc6 (= 2.3.6-4)
Description: GNU C Library: Shared libraries [i686 optimized]
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C
library and the standard math library, as well as many others.
.
This set of libraries is optimized for i686 machines, and will only be
used if you are running a 2.6 kernel on an i686 class CPU (check the
output of `uname -m'). This includes Pentium Pro, Pentium II/III/IV,
Celeron CPU's and similar class CPU's (including clones such as AMD
Athlon/Opteron, VIA C3 Nehemiah, but not VIA C3 Ezla).
.
This package includes support for NPTL.
.
WARNING: Some third-party binaries may not work well with these libraries.
Most notably, IBM's JDK. If you experience problems with such
applications, you will need to remove this package.


--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

.



Relevant Pages

  • Re: A real package manager in action
    ... I believe package management is about permitting multiple versions of ... libraries should not change their APIs so correctly written programs will ... systems on linux platforms, the multi-version problem can lead to a need to ... merely to install them. ...
    (comp.sys.acorn.apps)
  • Re: XDMCP on Solaris 9
    ... > Platform minimum required Fonts Package ... > Text Layout support ... > libraries ...
    (comp.unix.solaris)
  • Tcl application deployment
    ... Tcl interpretator and any packages it uses. ... As far as I know, no OS provides way to load dynamic libraries using ... There is no way to fix bugs in some package used by application, ... all script files which come with application should be ...
    (comp.lang.tcl)
  • Re: A real package manager in action
    ... I don't see how a package (a bunch of files with instructions about where to ... fair to freeze use of components because buggy applications might depend on ... libraries should not change their APIs so correctly written programs will ... The same could be done for modules: packages called sharedclib-castle and ...
    (comp.sys.acorn.apps)
  • Re: How to use packages?
    ... libraries in assembly could be created and imported for use. ... package so that some very cool libraries could be created in ways that I ... This would be very wrong -- basically giving away a Lisp compiler ... For example (given the name as.exe for the assembler): ...
    (comp.lang.lisp)