Changes for osf-alpha from Kazuro Furukawa.

This commit is contained in:
Janet B. Anderson
2006-12-19 17:03:02 +00:00
parent 5a9e8d156e
commit beacc52519
2 changed files with 5 additions and 3 deletions

View File

@ -46,9 +46,9 @@ case $sysname in
HP-UX )
os=hpux
cpu=`uname -m`
case $cpu in 9000/[34678]??)
cpu=m68k
;;
case $cpu in
9000/[346]??) cpu=m68k ;;
9000/[78]??) cpu=parisc ;;
esac
echo ${os}-${cpu}${suffix}
;;

View File

@ -33,6 +33,8 @@ sub GetEpicsHostArch { # no args
} elsif ($arch =~ m/MSWin32-x86/) { return "win32-x86";
} elsif ($arch =~ m/cygwin/) { return "cygwin-x86";
} elsif ($arch =~ m/PA-RISC1.1/) { return "hpux-parisc";
} elsif ($arch =~ m/PA-RISC2.0/) { return "hpux-parisc";
} elsif ($arch =~ m/alpha-dec_osf/) { return "osf-alpha";
} elsif ($arch =~ m/darwin/) {
my($kernel, $hostname, $release, $version, $cpu) = POSIX::uname();
if ($cpu =~ m/Power Macintosh/) { return "darwin-ppc"; }