[rescue] libpthread.a on Solaris 8?

Curtis H. Wilbar Jr. rescue at hawkmountain.net
Fri May 23 23:41:06 CDT 2003

You should be able to compile most of it static except for the
references for the libpthread by linking in the .o and .a files
and using -lpthread for the dynamic part... no ?

Since libpthread.so and libthread.so (which I'm sure libpthread.so needs)
come "stock" with Solaris 8, unless they get toasted you should be ok.

I agree with your desires though, a static libpthread.a and libthread.a
would be nice for specific things like this (although potentially needing
more maintenance, and multiple copies if all machines are not identical).

-- Curt

>Date: Fri, 23 May 2003 20:18:09 -0400
>From: Phil Stracchino <alaric at caerllewys.net>
>To: rescue at sunhelp.org
>Subject: Re: [rescue] libpthread.a on Solaris 8?
>Mail-Followup-To: rescue at sunhelp.org
>X-ICBM: 35.6880N 77.4375W
>X-PGP-Fingerprint: 2105 C6FC 945D 2A7A 0738  9BB8 D037 CE8E EFA1 3249
>X-PGP-Key-FTP-URL: ftp://ftp.babcom.com/pub/pgpkeys/alaric.asc
>X-PGP-Key-HTTP-URL: http://www.babcom.com/alaric/pgp.html
>X-UCE-Policy: No unsolicited commercial email is accepted at this site.  All 
senders of UCE will be immediately and permanently blocked.
>User-Agent: Mutt/1.5.4i
>On Fri, May 23, 2003 at 07:19:21PM -0400, Curtis H. Wilbar Jr. wrote:
>> Looks like you'll have to compile dynamically unless there is a way
>> to make a .a out of a .so (I do not believe this is possible ?).
>It does, indeed, look that way.  In this case, this is significantly
>sub-optimal, as it makes bare-metal recovery on Solaris a significantly
>more complex task.
> .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
> : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
> :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
> :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
> :    Linux Now!   ...Because friends don't let friends use Microsoft.    :
>rescue list - http://www.sunhelp.org/mailman/listinfo/rescue

Curtis Wilbar
Hawk Mountain Networks
rescue at hawkmountain.net

My e-mail is protected against viruses and spam by MailGuardian
          Top notch protection at unbelievable prices

More information about the rescue mailing list