summaryrefslogtreecommitdiff
path: root/vos/compile_perl.cm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-11 14:39:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-11 14:39:05 +0000
commit0d6ca59a79657354b4438c5024ce2aa3d9375c81 (patch)
tree1cb53e7dd223e8bd37b7dff4f5f349176193120b /vos/compile_perl.cm
parentdda47b01aa025c40b3278007f62051a5ef7daf60 (diff)
downloadperl-0d6ca59a79657354b4438c5024ce2aa3d9375c81.tar.gz
VOS updates from Paul Green for @10476.
p4raw-link: @10476 on //depot/perl: 3e1b48791d54e7c6043211159cffdebed97f0943 p4raw-id: //depot/perl@10515
Diffstat (limited to 'vos/compile_perl.cm')
-rw-r--r--vos/compile_perl.cm9
1 files changed, 8 insertions, 1 deletions
diff --git a/vos/compile_perl.cm b/vos/compile_perl.cm
index f8ecf3ba22..367b0797d5 100644
--- a/vos/compile_perl.cm
+++ b/vos/compile_perl.cm
@@ -12,6 +12,7 @@
module option(-module)module_name,='(current_module)'
tgt_mod option(-target_module)module_name,='(current_module)'
version option(-version)name,allow(alpha,ga),=ga
+ compiler option(-compiler)name,allow(cc,gcc)=cc
&end_parameters
&echo command_lines
&
@@ -32,6 +33,11 @@
&if &cpu& = pa8000
&then &set_string obj .8000
&
+&if &compiler& = gcc & &version& = alpha
+&then &do
+ &display_line GCC is not supported by the alpha version of POSIX support.
+ &return e$translation_failed
+&end
&if ^ (exists obj&obj& -directory)
&then !create_dir obj&obj&
&
@@ -42,5 +48,6 @@
&
!change_current_dir obj&obj&
!start_process (string <build -processor &cpu& &recompile& &rebind& &+
- -target_module &tgt_mod& -version &version&) -module &module&
+ -target_module &tgt_mod& -version &version& -compiler &compiler&) &+
+ -module &module&
!change_current_dir <