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_at_cs.rochester.edu Computer Science Building, Room 606
(716)275-1118
Received on Wed Aug 16 2000 - 18:42:39 NZST