/[cmucl]/src/tools/load-foreign.csh
ViewVC logotype

Contents of /src/tools/load-foreign.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Oct 1 04:28:37 1994 UTC (19 years, 6 months ago) by ram
Branch: MAIN
CVS Tags: RELEASE_18a, RELEASE_18b, RELEASE_18c
Branch point for: RELENG_18
File MIME type: application/x-csh
Initial revision
1 ram 1.1 #!/bin/csh -fx
2    
3     # script run by load-foreign to do OS-specific symbol-table extraction.
4    
5     if ( `uname` == HP-UX ) then
6     ld -a archive -N -A $argv[1] -R $argv[2] -o $argv[3] $argv[5-] /lib/dyncall.o
7     if ($status != 0) exit 1
8    
9     /bin/nm -xp $argv[3] | sed -e '/ [tdb] /d' -e 's/^0x//' -e 's/ / /' > $argv[4]
10     if ($status != 0) exit 2
11     else
12     ld -N -A $argv[1] -T $argv[2] -o $argv[3] $argv[5-]
13     if ($status != 0) exit 1
14    
15     nm -gp $argv[3] > $argv[4]
16     if ($status != 0) exit 2
17     endif
18    
19     exit 0

  ViewVC Help
Powered by ViewVC 1.1.5