Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 1997 18:53:21 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: no SYSVSHM in GENERIC now.. 
Message-ID:  <199707110153.SAA03364@rah.star-gate.com>
In-Reply-To: Your message of "Thu, 10 Jul 1997 17:48:30 PDT." <199707110048.RAA02792@rah.star-gate.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

In the mean time , out in the field:


Subject: 
              Pthread: Is there a better way?
        Date: 
              8 Jul 1997 01:09:30 GMT
        From: 
              tsmurphy@cs.uiuc.edu (TERENCE MURPHY)
 Organization: 
              University of Illinois at Urbana-Champaign
  Newsgroups: 
              comp.unix.bsd.freebsd.misc




I came across the man page for pthread, exuberant that the package
came with the OS, and wrote a little program to test it, and worried
when it didn't link.  Then I read:

>     By default, libc_r is not built as part of a 'make world'. To build and
>     install, it type:
>
>           cd /usr/src/lib/libc_r
>
>           make depend && make all && make install

I thought <moan> and then...

>     This assumes you have a full source tree below /usr/src and that you have
>     at least installed the header files in the way that 'make world' does.

Ahhh!!!  I seriously don't have the disk space the go out and download
and compile the whole source tree.  There's got to be a better way!  Is
there an alternative binary distribution which includes the threaded
libc?  Are there plans to put threads into the default system in the
future?  That makes sense to me.  Seriously, I don't understand why it
isn't already.  Heck, if it's not included in the standard
distribution, developers are less likely to try to depend on stuff
which people aren't going to have.  I also don't see why SYSVSHM isn't
in the kernel by default.  Otherwise, the kernel is totally usable on
installation (even without a compile)

For system-ish stuff (like threads and shared memory), IMHO, the system
should provide that stuff without requiring a recompile.  I'm a software
engineer, not a system administrator!!  FreeBSD follows this well (much
better than the alternatives) but I think it can be improved.

Thanks, Terry Murphy

-------
	Happy Reading,
	Amancio





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707110153.SAA03364>