From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96645124623633.tru64-unix-managers.marc@archive.invalid> From: Keith Parkins Date: Wed, 16 Aug 2000 18:41:17 +0000 To: tru64-unix-managers Subject: posix threads X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96645124623633 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