3 # Written: Nov 1994 Wayne Scott (wscott@ichips.intel.com)
5 # Create the export list for perl.
6 # Needed by AIX to do dynamic linking.
8 # NOTE: If you're using 'old_embed.pl', don't use this script!
9 # Use 'old_perl_exp.SH' instead.
11 # This simple program relys on 'global.sym' being up to date
12 # with all of the global symbols that a dynamicly link library
13 # might want to access.
15 # All symbols have a Perl_ prefix because that's what embed.h
16 # sticks in front of them.
18 echo "Extracting perl.exp"
23 sed -n '/^[A-Za-z]/ s/^/Perl_/p' global.sym >> perl.exp
26 # also add symbols from interp.sym
27 # They are only needed if -DMULTIPLICITY is not set but it
28 # doesn't hurt to include them anyway.
29 sed -n '/^[A-Za-z]/ s/^/Perl_/p' interp.sym >> perl.exp
31 # extra globals not included above.