3 # Written: Nov 1994 Wayne Scott (wscott@ichips.intel.com)
5 # Create the export list for perl based on 'old_global.sym'.
6 # Needed by AIX to do dynamic linking.
8 # This simple program relys on 'old_global.sym' being up to date
9 # with all of the global symbols that a dynamicly link library
10 # might want to access.
12 # All symbols have a Perl_ prefix because that's what embed.h
13 # sticks in front of them.
15 echo "Extracting perl.exp"
20 sed -n '/^[A-Za-z]/ s/^/Perl_/p' old_global.sym >> perl.exp
23 # also add symbols from interp.sym
24 # They are only needed if -DMULTIPLICITY is not set but it
25 # doesn't hurt to include them anyway.
26 sed -n '/^[A-Za-z]/ p' interp.sym >> perl.exp
28 # extra globals not included above.