Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /config/trunk/_arch-n-opsys
ViewVC logotype

Diff of /config/trunk/_arch-n-opsys

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

sml/trunk/config/_arch-n-opsys revision 1823, Wed Jul 20 14:36:45 2005 UTC config/trunk/_arch-n-opsys revision 2140, Thu Nov 2 16:20:25 2006 UTC
# Line 50  Line 50 
50      ARCH=ppc      ARCH=ppc
51      ;;      ;;
52    Darwin)    Darwin)
53        case `uname -p` in
54          powerpc)
55            ARCH=ppc
56      case `uname -r` in      case `uname -r` in
57        5*) OPSYS=darwin5; HEAP_OPSYS=darwin ;; # MacOS X 10.1        5*) OPSYS=darwin5; HEAP_OPSYS=darwin ;; # MacOS X 10.1
58        6*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.2        6*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.2
59        7*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.3        7*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.3
60        8*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.4        8*) OPSYS=darwin;  HEAP_OPSYS=darwin ;; # MacOS X 10.4
61        *) exit 1;;        *) exit 1;;
62      esac          esac;;
63      case `uname -p` in        i386) ARCH=x86; OPSYS=darwin; HEAP_OPSYS=darwin;; # MacOS X 10.4+
       powerpc) ARCH=ppc;;  
       *) exit 1;;  
64      esac      esac
65      ;;      ;;
66    OSF1)    OSF1)
# Line 78  Line 79 
79    Linux)    Linux)
80      OPSYS=linux      OPSYS=linux
81      case `uname -m` in      case `uname -m` in
82          *86)
83            ARCH=x86
84          # we no longer support Linux before the 2.2 kernel.
85            case `uname -r` in
86              2.2.*) ;;
87              2.3.*) ;;
88              2.4.*) ;;
89              2.5.*) ;;
90              2.6.*) ;;
91              *) exit 1 ;;
92            esac
93            ;;
94        # As long as we do not natively support the amd64 architecture,        # As long as we do not natively support the amd64 architecture,
95        # we should fallback to the x86 compatibility mode.  --Stef        # we should fallback to the x86 compatibility mode.  --Stef
96        *86 | x86_64) ARCH=x86;;        x86_64) ARCH=x86;;
97        ppc)        ppc)
98          ARCH=ppc          ARCH=ppc
99          case `uname -r` in          case `uname -r` in
# Line 100  Line 113 
113      esac      esac
114      ;;      ;;
115    NetBSD)    NetBSD)
116      OPSYS=netbsd      case `uname -r` in
117          2*) OPSYS=netbsd2;;
118          3*) OPSYS=netbsd;;
119          *) exit 1;;
120        esac
121      HEAP_OPSYS=bsd      HEAP_OPSYS=bsd
122      case `uname -m` in      case `uname -m` in
123        *86) ARCH=x86;;        *86) ARCH=x86;;

Legend:
Removed from v.1823  
changed lines
  Added in v.2140

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0