|
|
1.1 root 1: #!/bin/csh -f
2:
3: if (! -d /usr/local/lib/gnu) then
4: mkdir /usr/local/lib/gnu
5: endif
6:
1.1.1.2 ! root 7: # Make a dummy "libg.a".
! 8: /bin/ar q /tmp/libg$$.a
! 9: hpxt /tmp/libg$$.a /usr/local/lib/gnu/libg.a
! 10: rm -f /tmp/libg$$.a
! 11:
1.1 root 12: # Note: ordering of directories must be reverse of the normal search
13: # order! This is because we are compressing all of the directories
14: # into a single directory. If two directories each contain a library
15: # with the same name, the one we convert second will be the one we
16: # end up with.
17:
18: foreach dir (/usr/local/lib /usr/lib /lib)
19: cd $dir
20: foreach i (lib*.a)
21: echo "$dir/$i"
22: hpxt $i /usr/local/lib/gnu/$i
23: end
24: end
25:
26: cd /lib
27: foreach i (*crt0.o)
28: echo "/lib/$i"
29: hpxt $i /usr/local/lib/gnu/$i
30: end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.