Subject: Re: src/gnu/usr.bin/egcs/common
To: Michael Graff <explorer@flame.org>
From: Brian Stark <bstark@siemens-psc.com>
List: tech-userlevel
Date: 12/17/1999 17:05:44
On Fri, 17 Dec 1999, Jason Thorpe wrote:
> On 17 Dec 1999 14:49:20 -0800
> cgd@netbsd.org (Chris G. Demetriou) wrote:
>
> > > XFree86
> > > system libraries/binaries
> > > pkgsrc (binary packages)
> > >
> > > Why can't we recompile them all? We already do most of that, I
> > > believe.
> >
> > For correctness, it's not just a matter of recompiling them. it's a
> > matter of going through and bumping the major numbers.
>
> IIRC, Solaris is still at libc.so.1 *FOR THIS VERY REASON*.
>
> -- Jason R. Thorpe <thorpej@nas.nasa.gov>
>
Hello Michael,
I apologize in advance if this a stupid question, but is there something
inherently wrong with having two C libraries??
On AIX, IBM has a libc.a and a libc_r.a. The libc_r.a library has the
thread safe functions while the libc.a library does not. Programs needing
thread safe functions are compiled against libc_r.a, and programs that
do not need a thread safe library are compiled against libc.a.
possum:bstark$ uname -a
AIX possum 2 4 00087028A600
possum:bstark$ cd /usr/ccs/lib
possum:bstark$ ls -l libc.a libc_r.a
-r-xr-xr-x 1 bin bin 1748898 May 25 1999 libc.a
-r--r--r-- 1 bin bin 1840193 May 25 1999 libc_r.a
possum:bstark$
Regards,
Brian
-------------------------------------------------------------------------
| Brian Stark | Internet : bstark@siemens-psc.com |
| Siemens PT&D, Inc. | Voice : +1 612 536-4697 |
| Power Systems Control Division | Fax : +1 612 536-4919 |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428 USA |
-------------------------------------------------------------------------