xref: /openbsd-src/gnu/usr.bin/perl/vos/compile_full_perl.cm (revision 55745691c11d58794cc2bb4d620ee3985f4381e6)
1*55745691Smillert& This command macro builds and tests full perl using
2*55745691Smillert& the native perl build scripts.  The prerequsites for
3*55745691Smillert& using this macro are a VOS Continuum system running
4*55745691Smillert& VOS Release 14.5.0 and VOS GNU C/C++ and GNU Tools 2.0.1.
5*55745691Smillert&
6*55745691Smillert& Written 02-05-05 by Paul Green (Paul.Green@stratus.com)
7*55745691Smillert&
8*55745691Smillert&begin_parameters
9*55745691Smillert     debug_sw       switch(-debug)
10*55745691Smillert&end_parameters
11*55745691Smillert&echo command_lines
12*55745691Smillert&
13*55745691Smillert!add_library_path command (master_disk)>system>gnu_library>bin &+
14*55745691Smillert     -after '(current_dir)'
15*55745691Smillert&
16*55745691Smillert&if (process_type) = interactive
17*55745691Smillert&then !set_terminal_parameters -pause_lines 0
18*55745691Smillert&
19*55745691Smillert&set_string release (before (after (module_info system_release) 'VOS Release ') ' ')
20*55745691Smillert&if &release& < '14.5'
21*55745691Smillert&then &do
22*55745691Smillert &display_line You must be running VOS Release 14.5.0 or later to use this macro.
23*55745691Smillert &return e$wrong_version
24*55745691Smillert&end
25*55745691Smillert&
26*55745691Smillert&if ^ (exists -directory (master_disk)>system>gnu_library>lib>perl5)
27*55745691Smillert&then &do
28*55745691Smillert &display_line You must have S877 - GNU C/C++ and GNU Tools Release 2.0.1 to use this macro.
29*55745691Smillert &return e$wrong_version
30*55745691Smillert&end
31*55745691Smillert&
32*55745691Smillert!change_current_dir <
33*55745691Smillert&
34*55745691Smillert&if &debug_sw&
35*55745691Smillert&then !bash vos/configure_full_perl.sh -DDEBUGGING -Doptimize=-g
36*55745691Smillert&else !bash vos/configure_full_perl.sh
37*55745691Smillert&
38*55745691Smillert!bash vos/make_full_perl.sh
39