When I did the OpenVMS Itanium port I neglected a couple of places in
the configuration/build/install process that set up the
architecture-specific directory names and (when multiple architectures
share a build or install directory) maintain different executable file
extensions for the different architectures. The attached patch fixes
these issues and has been tested on both Alpha and Itanium.
--- configure.com;-3 Thu Mar 25 22:34:45 2004
+++ configure.com Thu Apr 1 09:29:48 2004
@@ -6476,7 +6476,8 @@
$ WRITE CONFIG "$ ext = "".exe"""
$ IF sharedperl
$ THEN
-$ WRITE CONFIG "$ if f$getsyi(""HW_MODEL"") .ge. 1024 then ext = "".AXE"""
+$ WRITE CONFIG "$ if f$getsyi(""ARCH_TYPE"") .eq. 2 then ext = "".AXE"""
+$ WRITE CONFIG "$ if f$getsyi(""ARCH_TYPE"") .eq. 3 then ext = "".IXE"""
$ ENDIF
$ IF (perl_symbol)
$ THEN
--- vms/descrip_mms.template;-1 Thu Mar 25 22:39:41 2004
+++ vms/descrip_mms.template Thu Apr 1 08:45:21 2004
@@ -33,6 +33,11 @@
~FLAGS~
#: >>>>> Architecture-specific options <<<<<
+.ifdef IXE
+O = .ibj
+OLB = .ilb
+E = .ixe
+.else
.ifdef AXE
# File type to use for object files
O = .abj
@@ -48,7 +53,12 @@
# File type to use for executable images
E = .exe
.endif
+.endif
+.ifdef __IA64__
+ARCH = VMS_IA64
+OBJVAL = $(O)
+.else
.ifdef __AXP__
ARCH = VMS_AXP
OBJVAL = $(O)
@@ -56,6 +66,7 @@
ARCH = VMS_VAX
OBJVAL = $(MMS$TARGET_NAME)$(O)
.endif
+.endif
PERL_VERSION = ~PV~