[Gd-chatter] r11465 - branches/opendylan-1-0-bignum/fundev/sources/environment/console
housel at gwydiondylan.org
housel at gwydiondylan.org
Sat Sep 29 20:26:17 CEST 2007
Author: housel
Date: Sat Sep 29 20:26:16 2007
New Revision: 11465
Modified:
branches/opendylan-1-0-bignum/fundev/sources/environment/console/command-line.dylan
branches/opendylan-1-0-bignum/fundev/sources/environment/console/compiler-command-line.dylan
Log:
Bug: 7363
Allow compiler debugging ouptut to be requested from the console
environment command line.
* sources/environment/console/command-line.dylan
(<basic-main-command>): Un-comment flag slots definitions for %harp?,
%assemble?, and %dfm?.
(execute-main-command): Use the %harp?, %assemble?, and %dfm? flags
to construct a sequence to pass to the output: constructor keyword
for <build-project-command>.
* sources/environment/console/compiler-command-line.dylan
(internal-main): Define -HARP, -ASSEMBLE, and -DFM command-line
options.
Modified: branches/opendylan-1-0-bignum/fundev/sources/environment/console/command-line.dylan
==============================================================================
--- branches/opendylan-1-0-bignum/fundev/sources/environment/console/command-line.dylan (original)
+++ branches/opendylan-1-0-bignum/fundev/sources/environment/console/command-line.dylan Sat Sep 29 20:26:16 2007
@@ -60,13 +60,13 @@
init-keyword: debug-info:;
constant slot %messages :: false-or(<symbol>) = #f,
init-keyword: messages:;
-/*---*** fill this in later.
constant slot %harp? :: <boolean> = #f,
init-keyword: harp?:;
constant slot %assemble? = #f,
init-keyword: assemble?:;
constant slot %dfm? :: <boolean> = #f,
init-keyword: dfm?:;
+/*---*** fill this in later.
constant slot %exports? :: <boolean> = #f,
init-keyword: exports?:;
let gc? = #f;
@@ -101,7 +101,14 @@
save?: command.%save?,
link?: #f,
release?: command.%release?,
- subprojects: command.%subprojects? & ~command.%not-recursive?)
+ subprojects: command.%subprojects? & ~command.%not-recursive?,
+ output: begin
+ let output = make(<stretchy-object-vector>);
+ if (command.%assemble?) add!(output, #"assembler") end;
+ if (command.%dfm?) add!(output, #"dfm") end;
+ if (command.%harp?) add!(output, #"harp") end;
+ output
+ end)
end;
if (build? | command.%link?)
let target
Modified: branches/opendylan-1-0-bignum/fundev/sources/environment/console/compiler-command-line.dylan
==============================================================================
--- branches/opendylan-1-0-bignum/fundev/sources/environment/console/compiler-command-line.dylan (original)
+++ branches/opendylan-1-0-bignum/fundev/sources/environment/console/compiler-command-line.dylan Sat Sep 29 20:26:16 2007
@@ -73,6 +73,9 @@
keyword system-root :: <directory-locator> = "system area root";
flag unify = "combine the libraries into a single executable";
flag profile-commands = "profile the execution of each command";
+ flag harp = "generate HARP output";
+ flag assemble = "generate assembly-language output";
+ flag dfm = "generate Dylan Flow Machine output";
// Backwards-compatibility options for pentium-dw users
flag not-recursive = "don't build subprojects as well";
More information about the chatter
mailing list