From: Keith Parkins <kparkins () cs ! rochester ! edu>
To: tru64-unix-managers
Subject: posix threads
Date: Wed, 16 Aug 2000 18:41:17 +0000 [thread overview]
Message-ID: <96645124623633.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2000-08-16 18:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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