17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
case "${MAGICFILE}" in
*elf*x86-64*)
CPUPLAT="x86_64"
;;
*elf*intel\ 80386*)
CPUPLAT="ix86"
;;
*parisc*)
CPUPLAT="parisc"
;;
*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
;;
|
|
<
<
<
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
case "${MAGICFILE}" in
*elf*x86-64*)
CPUPLAT="x86_64"
;;
*elf*intel\ 80386*)
CPUPLAT="ix86"
;;
*parisc*|*pa-risc*)
CPUPLAT="parisc"
;;
*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
;;
|