summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorPaul Green <Paul.Green@stratus.com>2002-05-05 13:15:00 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-05 22:15:48 +0000
commitc71882ca62bae8258b04c568faa83361dbc72d39 (patch)
treeb1939001d5fc59f87396e7c96cb7a95770d3a717 /vos
parent3e9ffe509f527252a23d5921dcd6cd5a3671012b (diff)
downloadperl-c71882ca62bae8258b04c568faa83361dbc72d39.tar.gz
Update README.vos and release vos build macros
Message-Id: <200205052114.RAA26329@mailhub2.stratus.com> To: perl5-porters@perl.org p4raw-id: //depot/perl@16419
Diffstat (limited to 'vos')
-rw-r--r--vos/Changes3
-rw-r--r--vos/compile_full_perl.cm38
-rw-r--r--vos/configure_full_perl.sh21
-rw-r--r--vos/make_full_perl.sh3
4 files changed, 65 insertions, 0 deletions
diff --git a/vos/Changes b/vos/Changes
index 407b258992..98bab9dbd8 100644
--- a/vos/Changes
+++ b/vos/Changes
@@ -6,6 +6,9 @@ For 5.8.0:
"install_perl.cm" to use directory naming conventions that
are closer to the perl standard directory names.
+ Added "compile_full_perl.cm", "configure_full_perl.sh" and
+ "make_full_perl.sh" for building full perl.
+
For the first time, full perl can now be built on VOS using
its native Configure script and makefiles. See README.vos
for details.
diff --git a/vos/compile_full_perl.cm b/vos/compile_full_perl.cm
new file mode 100644
index 0000000000..9af1a87cde
--- /dev/null
+++ b/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
diff --git a/vos/configure_full_perl.sh b/vos/configure_full_perl.sh
new file mode 100644
index 0000000000..28eab52513
--- /dev/null
+++ b/vos/configure_full_perl.sh
@@ -0,0 +1,21 @@
+# Configure environment variables for perl build.
+declare -x AWK="/system/gnu_library/bin/gawk.pm"
+export AWK
+declare -x CC="/system/gnu_library/bin/gcc.pm"
+export CC
+declare -x CPP="$CC $CPPFLAGS -E"
+export CPP
+declare -x CPPFLAGS="-D_POSIX_SOURCE=199506L -D_SYSV"
+export CPPFLAGS
+declare -x CONFIG_SHELL="bash"
+export CONFIG_SHELL
+declare -x LD="/system/gnu_library/bin/gcc.pm"
+export LD
+declare -x MAKE="/system/gnu_library/bin/gmake.pm"
+export MAKE
+declare -x RANLIB=":"
+export RANLIB
+declare -x SHELL="/system/gnu_library/bin/bash.pm"
+export SHELL
+#
+bash Configure -Dusedevel -des
diff --git a/vos/make_full_perl.sh b/vos/make_full_perl.sh
new file mode 100644
index 0000000000..8abdafc78b
--- /dev/null
+++ b/vos/make_full_perl.sh
@@ -0,0 +1,3 @@
+# This macro makes full perl and runs its test scripts
+gmake
+gmake test