diff options
Diffstat (limited to 'gnu/usr.bin/perl/vos/compile_full_perl.cm')
-rw-r--r-- | gnu/usr.bin/perl/vos/compile_full_perl.cm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/vos/compile_full_perl.cm b/gnu/usr.bin/perl/vos/compile_full_perl.cm new file mode 100644 index 00000000000..9af1a87cde5 --- /dev/null +++ b/gnu/usr.bin/perl/vos/compile_full_perl.cm @@ -0,0 +1,38 @@ +& This command macro builds and tests full perl using +& the native perl build scripts. The prerequsites for +& using this macro are a VOS Continuum system running +& VOS Release 14.5.0 and VOS GNU C/C++ and GNU Tools 2.0.1. +& +& Written 02-05-05 by Paul Green (Paul.Green@stratus.com) +& +&begin_parameters + debug_sw switch(-debug) +&end_parameters +&echo command_lines +& +!add_library_path command (master_disk)>system>gnu_library>bin &+ + -after '(current_dir)' +& +&if (process_type) = interactive +&then !set_terminal_parameters -pause_lines 0 +& +&set_string release (before (after (module_info system_release) 'VOS Release ') ' ') +&if &release& < '14.5' +&then &do + &display_line You must be running VOS Release 14.5.0 or later to use this macro. + &return e$wrong_version +&end +& +&if ^ (exists -directory (master_disk)>system>gnu_library>lib>perl5) +&then &do + &display_line You must have S877 - GNU C/C++ and GNU Tools Release 2.0.1 to use this macro. + &return e$wrong_version +&end +& +!change_current_dir < +& +&if &debug_sw& +&then !bash vos/configure_full_perl.sh -DDEBUGGING -Doptimize=-g +&else !bash vos/configure_full_perl.sh +& +!bash vos/make_full_perl.sh |