Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Dan Riley <dsr@mail.lns.cornell.edu>
Subject: Re: help compiling (libpthread.a)
Date: 18 Mar 2002 08:58:35 -0500	[thread overview]
Message-ID: <shd6y2ht9w.fsf_-_@lnxcu9.lns.cornell.edu> (raw)
In-Reply-To: 3C9549E8.73649852@execpc.com

Paul Foster <pfoster@execpc.com> writes:
> Because I don't have the source and the distributedfolding.org people
> only have a Tru64 system.  I was hoping to get more of an answer than
> the one I got that said the library should be there and it should work..

How about "it might be there and it probably won't work"?

As to where the library is, it depends on the version of tru64--in
tru64 v5.0, it should be there. For v4.0, the optional CMPDEVENH
subset installs /usr/opt/alt/usr/lib/threads/libpthread.a, so they
need that subset installed, and an appropriate -L to the linker.

However, this probably won't do what you want--kernel threads are
generally very closely tied to the private kernel interfaces that
support them (one of the caveats about using a static libpthread.a is
that new versions of tru64 or even patch kits may break the
executable).  I would be *very* surprised if the Tru64 emulation in
Linux supports the tru64 kernel thread interfaces, so the resulting
executable probably won't run on Alpha Linux (if it actually is
multi-threaded--if it isn't, they should be able to link without
the pthread library).

A google search for "Butenhof libthread.a tru64" will turn up more
information on threads on tru64, but probably won't give you any help
getting such an executable to run on Alpha Linux.

> > "Paul Foster" <pfoster@execpc.com> wrote in message
> > news:3C8FDD06.6EA6166@execpc.com...
> > > I'm trying to help the folks at www.distributedfolding.org compile a
> > > version of their distributed computing program under Tru64.  They are
> > > trying to compile a version of the binary under Tru64 that will run
> > > under RedHat Linux for the Alpha.  They are trying compile the binary
> > > using the -non_shared option and get the following error:
> > >
> > > ld:
> > > Can't locate file for: -lpthread
-- 
Dan Riley                                         dsr@mail.lns.cornell.edu
 "Mr. Ellison is presently the sole member of the Plan Committee.  The
  Plan Committee did not meet during fiscal year 2001, and during that
       same period, acted 46 times by unanimous written consent."


      parent reply	other threads:[~2002-03-18 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13 23:13 help compiling Paul Foster
2002-03-15 16:15 ` Kenneth Block
2002-03-18  1:59   ` Paul Foster
2002-03-18 13:05     ` Kenneth Block
2002-03-18 13:58     ` Dan Riley [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox