Subject: RE: [Spruce-list] FreeBSD compile problem - possible solution
To: None <fejj@stampede.org>
From: Rob Mohr <rob.mohr@cat-1.com>
List: tech-pkg
Date: 04/25/2000 10:29:31
Jeff,

GNU Pth built, tested, and installed flawlessly on my machine (if *I* can
compile it on this aging DECStation, anyone should be able to build it
*grin*).  My experiences compiling other GNU projects in the past leads me
to believe that you may have a pretty good idea there concerning future GNU
Pth support for Spruce.  The package has the added benefit of being highly
documented on their web site:

http://www.gnu.ai.mit.edu/software/pth/pth.html

Let me know if I can be of any help to you.  I'm not much of a programmer,
but I'd be happy to run build tests for you on my machine.  (I'll soon be
adding a SPARCBook 2 to my collection, so I could test on SPARC and mips).
Also planning to put NetBSD and Linux on both my PC and 68k Mac.

Take care,

Rob Mohr

-----Original Message-----
From: Jeffrey Stedfast [mailto:fejj@stampede.org]
Sent: Tuesday, April 25, 2000 8:46 AM
To: Robert D. Mohr
Cc: <spruce-list@lists.sourceforge.net>;
Subject: RE: [Spruce-list] FreeBSD compile problem - possible solution



Perhaps what I should do is look into GNU Pth instead, assuming it's
available for all target systems

I'm planning on rewriting the thread code anyway, it's pretty sloppy the
way it is. (I learned threading from an online tutorial which was not very
complete, I just picked up O'Reillys Pthreads book).

Another option might be to write code for several different threading libs,
wraping the calls in #ifdef's or something (ugly but effective)

I'd prefer to code it one way, but I really would like to have spruce run
on as many platforms as possible (including win32?)

Jeff

On Tue, 25 Apr 2000, "Robert D. Mohr" wrote:
> Date: Tue, 25 Apr 2000 00:52:31 -0400
> To: <fejj@stampede.org>
> From: "Robert D. Mohr" <robmohr@earthlink.net>
> Subject: RE: [Spruce-list] FreeBSD compile problem - possible solution
>
> Just noticed that there *is* another POSIX threads package for NetBSD...
> GNU Pth - The GNU Portable Threads.  I'm trying to build that on my
> machine
> now...  Not sure how I'll get the NetBSD Spruce package installer to
> recognize that it's there...
>
> NetBSD package guys... any ideas?
>
> Rob
>
> > -----Original Message-----
> > From: tech-pkg-owner@netbsd.org [mailto:tech-pkg-owner@netbsd.org]On
> > Behalf Of Robert D. Mohr
> > Sent: Tuesday, April 25, 2000 12:41 AM
> > To: fejj@stampede.org
> > Cc: spruce-list@lists.sourceforge.net; tech-pkg@netbsd.org
> > Subject: RE: [Spruce-list] FreeBSD compile problem - possible solution
> >
> >
> > Jeff,
> >
> > This may work for FreeBSDers, however the LinuxThreads port isn't
> > currently
> > available for NetBSD.  In addition, neither of the thread packages
> > (mit-pthreads, unproven-pthreads) which are available in the
> > NetBSD package
> > collection have been ported to my platform (mips: pmax).  The MIT
> > package is
> > currently available for alpha, arm32, i386, sparc, and m68k.  The
> > other just
> > supports i386, arm32 and m68k.  Obviously not your problem, however I
> just
> > wanted to let you know that the possible solution you mentioned isn't
> > workable for NetBSDers.
> >
> > Rob Mohr
> >
> > (P.S.  NetBSD package maintainers...  if I am incorrect, please
> > let me know)
> >
> > > -----Original Message-----
> > > From: spruce-list-admin@lists.sourceforge.net
> > > [mailto:spruce-list-admin@lists.sourceforge.net]On Behalf Of Jeffrey
> > > Stedfast
> > > Sent: Sunday, April 16, 2000 2:49 PM
> > > To: Matt Payton
> > > Cc: spruce-list@lists.sourceforge.net
> > > Subject: Re: [Spruce-list] FreeBSD compile problem - possible
> solution
> > >
> > >
> > >
> > > It seems that BSD users might need to install the LinuxThreads
> > > port in order
> > > to successfully build/run Spruce as it currently is.
> > >
> > > I recognize that this is a "hassle" and that I should find a
> > better way to
> > > handle this in the future. If anyone has experience programming on
> BSD
> > > systems using posix threads, I would greatly appreciate a fix
> > > whether it be
> > > a configure option or, better yet, some way to autodetect which
> > lib is to
> > > be used and any source modifications might be needed.
> > >
> > > In the meanwhile, I will add that requirement to the README file
> > > for future
> > > releases.
> > >
> > > I thank you all for reporting this problem and for using Spruce ;-)
> > >
> > > Jeff
> > >
> > > --
> > > Spruce: http://www.xtorshun.org/spruce
> > >
> > >
> > > _______________________________________________
> > > Spruce-list mailing list
> > > Spruce-list@lists.sourceforge.net
> > > http://lists.sourceforge.net/mailman/listinfo/spruce-list
> > >
> >
> >
> >
>
>
--
Spruce: because God hates a quitter.