Empty archive directory into keep or delete
[openafs-wiki.git] / delete / WritingCPrograms.mdwn
1 With regard to linking libraries:
2
3 You can either link agaist lwp or pthreads. You do NOT want to do both.
4
5 Pthreads looks to be easier in terms of keeping track of libs:
6
7 For pthreads:
8
9 -lafsauthent -lafsrpc -lpthread
10
11 for lwp:
12
13 -llwp -lauth -lkauth -lprot and more
14
15 So, to summarize:
16
17 afsauthent, afsrpc -> pthread
18
19 kauth, auth, et al -> lwp
20
21 -- Dave Botsch - 15 Nov 2003