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

SCM Repository

[smlnj] View of /sml/branches/arith64/system/smlnj/cmb/current.cm
ViewVC logotype

View of /sml/branches/arith64/system/smlnj/cmb/current.cm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4874 - (download) (annotate)
Fri Oct 5 14:33:11 2018 UTC (10 months, 2 weeks ago) by jhr
File size: 1499 byte(s)
  merge in edits from trunk
(* current.cm
 *
 * Library exporting structure CMB, the bootstrap compiler for the
 * current architecture.
 *
 * COPYRIGHT (c) 2016 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *
 * Author: Matthias Blume
 *)
Library
	signature CMB
	structure CMB
is
	$smlnj/internal/cm-sig-lib.cm

	(* based on current architecture and OS, select CMB *)

# if defined(ARCH_ALPHA)
	$smlnj/cmb/alpha32-unix.cm
	select-alpha32-unix.sml
# elif defined(ARCH_AMD64)
	$smlnj/cmb/amd64-unix.cm
	select-amd64-unix.sml
# elif defined(ARCH_MIPS)
#   if defined(BIG_ENDIAN)
	$smlnj/cmb/mipseb-unix.cm
	select-mipseb-unix.sml
#   else
	$smlnj/cmb/mipsel-unix.cm
	select-mipsel-unix.sml
#   endif
# elif defined(ARCH_HPPA)
	$smlnj/cmb/hppa-unix.cm
	select-hppa-unix.sml
# elif defined(ARCH_RS6000)
	$smlnj/cmb/rs6000-unix.cm
	select-rs6000-unix.sml
# elif defined(ARCH_PPC)
#   if defined(OS_MACOS)
	$smlnj/cmb/ppc-macos.cm
	select-ppc-macos.sml
#   else
	$smlnj/cmb/ppc-unix.cm
	select-ppc-unix.sml
#   endif
# elif defined(ARCH_SPARC)
	$smlnj/cmb/sparc-unix.cm
	select-sparc-unix.sml
# elif defined(ARCH_X86)
#   if defined(OPSYS_WIN32)
	$smlnj/cmb/x86-win32.cm
	select-x86-win32.sml
#   elif defined(OPSYS_UNIX)
(*
#     if defined(ABI_Darwin)
        $smlnj/cmb/x86-intelmac.cm
	select-x86-intelmac.sml
#     else
*)
	$smlnj/cmb/x86-unix.cm
	select-x86-unix.sml
(*
#     endif
*)
#   else
#     error Unknown OS kind under x86!
#   endif
# else
#   error Strange architecture and/or OS!
# endif

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