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

SCM Repository

[smlnj] Annotation of /sml/trunk/src/system/HostCompiler/host-compiler-0.cm
ViewVC logotype

Annotation of /sml/trunk/src/system/HostCompiler/host-compiler-0.cm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 416 - (view) (download)

1 : monnier 416 cm-init
2 :     Library
3 :     structure Compiler
4 :     structure CMB
5 :     structure CM0
6 :     is
7 :     (* library of visible compilers for various architectures *)
8 :     target-compilers.cm
9 :    
10 :     (* library providing the implementation of CM *)
11 :     cm-lib.cm
12 :    
13 :     (* based on current architecture, select Compiler *)
14 :    
15 :     # if defined(ARCH_ALPHA)
16 :     Select/alpha32-compiler.sml
17 :     # elif defined(ARCH_MIPS)
18 :     # if defined(BIG_ENDIAN)
19 :     Select/mipseb-compiler.sml
20 :     # else
21 :     Select/mipsel-compiler.sml
22 :     # endif
23 :     # elif defined(ARCH_HPPA)
24 :     Select/hppa-compiler.sml
25 :     # elif defined(ARCH_RS6000)
26 :     Select/rs6000-compiler.sml
27 :     # elif defined(ARCH_PPC)
28 :     Select/ppc-compiler.sml
29 :     # elif defined(ARCH_SPARC)
30 :     Select/sparc-compiler.sml
31 :     # elif defined(ARCH_X86)
32 :     Select/x86-compiler.sml
33 :     # else
34 :     # error Strange architecture!
35 :     # endif
36 :    
37 :     (* based on current architecture and OS, select CMB *)
38 :    
39 :     # if defined(ARCH_ALPHA)
40 :     Select/alpha32-unix-cmb.sml
41 :     # elif defined(ARCH_MIPS)
42 :     # if defined(BIG_ENDIAN)
43 :     Select/mipseb-unix-cmb.sml
44 :     # else
45 :     Select/mipsel-unix-cmb.sml
46 :     # endif
47 :     # elif defined(ARCH_HPPA)
48 :     Select/hppa-unix-cmb.sml
49 :     # elif defined(ARCH_RS6000)
50 :     Select/rs6000-unix-cmb.sml
51 :     # elif defined(ARCH_PPC)
52 :     # if defined(OS_MACOS)
53 :     Select/ppc-macos-cmb.sml
54 :     # else
55 :     Select/ppc-unix-cmb.sml
56 :     # endif
57 :     # elif defined(ARCH_SPARC)
58 :     Select/sparc-unix-cmb.sml
59 :     # elif defined(ARCH_X86)
60 :     # if defined(OS_WIN32)
61 :     Select/x86-win32-cmb.sml
62 :     # else
63 :     Select/x86-unix-cmb.sml
64 :     # endif
65 :     # else
66 :     # error Strange architecture and/or OS!
67 :     # endif
68 :    
69 :     (* make CM0 once we have selected the Compiler *)
70 :     link-cm.sml

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