source: trunk/essentials/dev-lang/perl/vms/writemain.pl@ 3184

Last change on this file since 3184 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 1.9 KB
Line 
1#!./miniperl
2#
3# Create perlmain.c from miniperlmain.c, adding code to boot the
4# extensions listed on the command line. In addition, create a
5# linker options file which causes the bootstrap routines for
6# these extension to be universal symbols in PerlShr.Exe.
7#
8# Last modified 29-Nov-1994 by Charles Bailey [email protected]
9#
10
11if (-f 'miniperlmain.c') { $dir = ''; }
12elsif (-f '../miniperlmain.c') { $dir = '../'; }
13else { die "$0: Can't find miniperlmain.c\n"; }
14
15open (IN,"${dir}miniperlmain.c")
16 || die "$0: Can't open ${dir}miniperlmain.c: $!\n";