26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
;;
*elf*32-bit*sparc*)
CPUPLAT="sparc"
;;
*elf*64-bit*sparc*)
CPUPLAT="sparc64"
;;
esac
if [ "${MAGICOS}" != "`uname -s`" ]; then
# Cross compiling, try to determine OS ...
true
fi
;;
|
>
>
>
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
;;
*elf*32-bit*sparc*)
CPUPLAT="sparc"
;;
*elf*64-bit*sparc*)
CPUPLAT="sparc64"
;;
*pa-risc*)
CPUPLAT="parisc"
;;
esac
if [ "${MAGICOS}" != "`uname -s`" ]; then
# Cross compiling, try to determine OS ...
true
fi
;;
|
79
80
81
82
83
84
85
86
87
88
89
|
*)
CPUPLAT="ix86"
;;
esac
echo "solaris${SOLVER}-${CPUPLAT}"
;;
*)
echo "`uname -s | dd conv=lcase 2>/dev/null`-`uname -m | dd conv=lcase 2>/dev/null`"
;;
esac
|
>
>
>
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
*)
CPUPLAT="ix86"
;;
esac
echo "solaris${SOLVER}-${CPUPLAT}"
;;
HP-UX)
echo "hpux-${CPUPLAT}"
;;
*)
echo "`uname -s | dd conv=lcase 2>/dev/null`-`uname -m | dd conv=lcase 2>/dev/null`"
;;
esac
|