summaryrefslogtreecommitdiff
path: root/vos/compile_full_perl.cm
blob: 9af1a87cde5dd6a64ba0eb575a4214cc59780479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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