X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vos%2Fcompile_perl.cm;h=c5c7c1e068a40a74d64c1535f30a6fdde320325f;hb=158b3652342ca691c9e3b061a1d78456ae1a9b4a;hp=a75d4e4740ade6f99ce92648309297c3a0ae50b7;hpb=495c5fdc8fec0d7d0f72a84d44bb3e7cfc448d43;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vos/compile_perl.cm b/vos/compile_perl.cm index a75d4e4..c5c7c1e 100644 --- a/vos/compile_perl.cm +++ b/vos/compile_perl.cm @@ -1,13 +1,68 @@ +& This command macro creates the appropriate subdirectory +& for the specified processor type and then runs the +& build macro in that subdirectory to create the perl +& executable program module file. +& Written 99-02-03 by Paul Green (Paul_Green@stratus.com) +& Modified 00-10-24 by Paul Green +& +&begin_parameters + cpu option(-processor)name,allow(mc68020,i80860,pa7100,pa8000),=pa7100 + recompile switch(-recompile),=1 + rebind switch(-rebind),=1 + 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 -& This macro assumes you have either licensed the cross-compilers or -& have one module of each type of architecture. Comment-out or edit -& the lines that are different for your system. -!change_current_dir obj -!start_process 'build.out) +&then !create_file obj&obj&>build.out ; set_implicit_locking obj&obj&>build.out +& +!configure_perl -version &version& +& +!change_current_dir obj&obj& +!start_process (string