Added code for cygwin.
This commit is contained in:
@@ -72,7 +72,21 @@ case $sysname in
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
* )
|
||||
echo unsupported
|
||||
sysname=`uname -o`
|
||||
case $sysname in
|
||||
Cygwin )
|
||||
os=win32
|
||||
cpu=`uname -m`
|
||||
case $cpu in i386 | i486 | i586 | i686 )
|
||||
cpu=x86
|
||||
;;
|
||||
esac
|
||||
echo ${os}-${cpu}${suffix}
|
||||
;;
|
||||
* )
|
||||
echo unsupported
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ sub GetEpicsHostArch { # no args
|
||||
} elsif ($arch =~ m/sun4-sunos/) { return "sun4-68k";
|
||||
} elsif ($arch =~ m/i[3-6]86-linux/) { return "linux-x86";
|
||||
} elsif ($arch =~ m/MSWin32-x86/) { return "win32-x86";
|
||||
} elsif ($arch =~ m/cygwin/) { return "win32-x86";
|
||||
} elsif ($arch =~ m/PA-RISC1.1/) { return "hpux-parisc";
|
||||
} elsif ($arch =~ m/darwin/) { return "darwin-ppc";
|
||||
} else { return "unsupported"; }
|
||||
|
||||
Reference in New Issue
Block a user