Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/vos/compile_full_perl.cm

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


& 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 ([email protected])
&
&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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].