summaryrefslogtreecommitdiff
path: root/module/scripts
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-10-31 14:17:30 +0100
committerAndy Wingo <wingo@pobox.com>2013-10-31 14:17:30 +0100
commitb73a2ee01773d910d82074a818c3955b45a6e6e1 (patch)
tree32c45887a5de512f43ea810fe31b016983cc7fb2 /module/scripts
parent30b7cf9df0f51bc2a3553396dc368c197eab4d8d (diff)
downloadguile-b73a2ee01773d910d82074a818c3955b45a6e6e1.tar.gz
Default to compiling to RTL
* module/ice-9/eval-string.scm (eval-string) * module/language/tree-il/spec.scm (tree-il) * module/scripts/compile.scm (compile) * module/system/base/compile.scm (compile-file, read-and-compile) * module/system/repl/common.scm (repl-compile, repl-prepare-eval-thunk): Default to compiling to RTL. * module/language/rtl/spec.scm (rtl->value): Add value compiler.
Diffstat (limited to 'module/scripts')
-rw-r--r--module/scripts/compile.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/scripts/compile.scm b/module/scripts/compile.scm
index 20db94463..db58a339a 100644
--- a/module/scripts/compile.scm
+++ b/module/scripts/compile.scm
@@ -1,6 +1,6 @@
;;; Compile --- Command-line Guile Scheme compiler -*- coding: iso-8859-1 -*-
-;; Copyright 2005,2008,2009,2010,2011 Free Software Foundation, Inc.
+;; Copyright 2005,2008,2009,2010,2011,2013 Free Software Foundation, Inc.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
@@ -139,7 +139,7 @@ There is NO WARRANTY, to the extent permitted by law.~%"))
(cons #:O o)
o)))
(from (or (assoc-ref options 'from) 'scheme))
- (to (or (assoc-ref options 'to) 'objcode))
+ (to (or (assoc-ref options 'to) 'rtl))
(target (or (assoc-ref options 'target) %host-type))
(input-files (assoc-ref options 'input-files))
(output-file (assoc-ref options 'output-file))