summaryrefslogtreecommitdiff
path: root/vos/compile_perl.cm
diff options
context:
space:
mode:
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 <