tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* posix threads
@ 2000-08-16 18:41 Keith Parkins
  0 siblings, 0 replies; only message in thread
From: Keith Parkins @ 2000-08-16 18:41 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

I currently have a user that wants to create a static binary using posix
threads. I noticed that OSFBASE440 only installs the dynamic library
(.so), but no archive (.a). I am not certain why, but the user needs to
have static binaries. Using the -non_shared flag produces the following
output:

indus ~/thread_test $ cc -o self_static -DTEST_SELF -non_shared -pthread        
thd.c                                                                           
ld:                                                                             
Can't locate file for: -lpthread

removing the flag build a nice dynamically linked lib.

Any ideas?

Thanks!
Keith

Keith Parkins                   U of R Computer Science
kparkins@cs.rochester.edu       Computer Science Building, Room 606
(716)275-1118

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-16 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 18:41 posix threads Keith Parkins

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