Re: Language module support modified
"Lars Ivar Igesund" <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <069001c38b3b$7ec18950$0200000a@mesmer> |
----- Original Message ----- From: "Bram Moolenaar" <[email protected]> > > Sourceforge is working again now, I've just checked in version 1.037. > You can find out if anonymous CVS still has an older version. Well, the transition didn't happen instantanously, but it's updated now. :) I made a change that did the same with the $DEBUG variable as with the $OPTIMIZE variable. (See diffs d.diff and dmd.diff). I also documented this in the ref-modules (togethere with $OPTIMIZE). I also added some anchor id's plus a ref-tools.sgml page. (I'm still very unsure about the doc syntax. How do I build the html-files when I've changed a sgml-file?) Lars Ivar Igesund
dmd.diff
(application/octet-stream, 900 B)
Index: dmd.py
===================================================================
RCS file: /cvsroot/a-a-p/Exec/tools/dmd.py,v
retrieving revision 1.3
diff -u -r1.3 dmd.py
--- dmd.py 3 Oct 2003 09:05:03 -0000 1.3
+++ dmd.py 5 Oct 2003 10:39:48 -0000
@@ -32,7 +32,11 @@
"opt =\n"
"@if _no.OPTIMIZE and int(_no.OPTIMIZE) > 0:\n"
" opt = -O\n"
- ":sys $DMD $?DFLAGS $?DVERSION $opt $?DDEBUG $?DIMPORT -of$target -c $source")
+ "dbg =\n"
+ "DEBUG ?=\n"
+ "@if _no.DEBUG and _no.DEBUG == \"yes\":\n"
+ " dbg = -g\n"
+ ":sys $DMD $?DFLAGS $?DVERSION $opt $dbg $?DDEBUG $?DIMPORT -of$target -c $source")
rpstack = [ RecPos("build_dmd action") ]
action_add(rpstack, rd, str2dictlist(rpstack, "build_dmd object,dllobject,libobject"),
":sys $DMD $?DLINKFLAGS -of$target $source")
d.diff
(application/octet-stream, 746 B)
Index: d.aap
===================================================================
RCS file: /cvsroot/a-a-p/Exec/modules/d.aap,v
retrieving revision 1.3
diff -u -r1.3 d.aap
--- d.aap 3 Oct 2003 09:05:42 -0000 1.3
+++ d.aap 5 Oct 2003 10:40:17 -0000
@@ -51,7 +51,12 @@
opt =
@if _no.OPTIMIZE and int(_no.OPTIMIZE) > 0:
opt = -O
- :sys $DMD $?DFLAGS $?DVERSION $opt $?DDEBUG $?DIMPORT -of$target -c $source
+ dbg =
+ DEBUG ?=
+ @if _no.DEBUG and _no.DEBUG == "yes":
+ dbg = -g
+ :sys $DMD $?DFLAGS $?DVERSION $opt $dbg $?DDEBUG $?DIMPORT
+ -of$target -c $source
:rule {default} %$OBJSUF : {buildcheck = $DMD $?DFLAGS $?DVERSION $?DDEBUG
$?DIMPORT } %.d
docexec.diff
(application/octet-stream, 877 B)
Index: exec.sgml
===================================================================
RCS file: /cvsroot/a-a-p/Exec/doc/exec.sgml,v
retrieving revision 1.23
diff -u -r1.23 exec.sgml
--- exec.sgml 30 Sep 2003 17:45:28 -0000 1.23
+++ exec.sgml 5 Oct 2003 10:25:05 -0000
@@ -59,6 +59,7 @@
<!ENTITY ref-attributes SYSTEM "ref-attributes.sgml">
<!ENTITY ref-filetype SYSTEM "ref-filetype.sgml">
<!ENTITY ref-modules SYSTEM "ref-modules.sgml">
+ <!ENTITY ref-tools SYSTEM "ref-tools.sgml">
<!ENTITY ref-python SYSTEM "ref-python.sgml">
<!ENTITY ref-variables SYSTEM "ref-variables.sgml">
@@ -333,6 +334,11 @@
<chapter id="ref-modules">
<title>Standard Modules</title>
&ref-modules;
+ </chapter>
+
+ <chapter id="ref-tools">
+ <title>Standard Tools</title>
+ &ref-tools;
</chapter>
<chapter id="ref-python">
docmod.diff
(application/octet-stream, 2.5 KB)
Index: ref-modules.sgml
===================================================================
RCS file: /cvsroot/a-a-p/Exec/doc/ref-modules.sgml,v
retrieving revision 1.3
diff -u -r1.3 ref-modules.sgml
--- ref-modules.sgml 3 Oct 2003 09:08:14 -0000 1.3
+++ ref-modules.sgml 5 Oct 2003 10:27:36 -0000
@@ -20,12 +20,14 @@
<varlistentry>
<term>d</term>
<listitem>
+ <anchor id="mod-d"/>
<para>
Support for the "D" programming language. With this module imported,
<computeroutput>:program</computeroutput>, <computeroutput>:dll
</computeroutput> and <computeroutput>:lib</computeroutput> commands
can be used as easily as with C or C++. To customize compilation and
- linking, the variables below can be filled.
+ linking, the variables below can be filled. See also
+ <xref linkend="ref-tools"/> for supported D tools.
</para>
<table frame="none">
<title>Variables of the D module</title>
@@ -79,8 +81,20 @@
<row>
<entry valign="top"><anchor id="var-dversion"/> $DVERSION </entry>
<entry valign="top"> user </entry>
- <entry valign="top"> Version arguments passed to the D compiler. </entry>
+ <entry valign="top"> Version arguments passed to the D compiler.
+ Always use the "-version=..." form, the tool will convert it to
+ what the compiler actually uses.</entry>
</row>
+ <row>
+ <entry valign="top"><anchor id="var-ddebug"/> $DDEBUG </entry>
+ <entry valign="top"> user </entry>
+ <entry valign="top"> Debug arguments passed to the D compiler.
+ Always use the "-debug"/"-debug=..." form, the tool will convert
+ it to what the compiler actually uses. To enable symbolic debug
+ information, set the the <link linkend="var-debug">$DEBUG</link>
+ to "yes". For other language independent debugging switches, like
+ enabling profiling hooks, use $DFLAGS.</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -90,6 +104,7 @@
<varlistentry>
<term>libtool</term>
<listitem>
+ <anchor id="mod-libtool"/>
<para>
Adds support for GNU libtool, so that you can use it to build
shared libraries in a portable manner.
@@ -102,6 +117,7 @@
<varlistentry>
<term>qt</term>
<listitem>
+ <anchor id="mod-qt"/>
<para>
Adds support for the Qt library.
</para>
ref-tools.sgml
(application/octet-stream, 2.4 KB) - not displayed