Re: Language module support modified

"Lars Ivar Igesund" <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <01fd01c38e4c$c456afe0$0200000a@mesmer>
----- Original Message ----- 
From: "Bram Moolenaar" <[email protected]>

> I have just checked in version 1.039.  Please try out this version.  If
> the D, qt and libtool modules look OK now then I'll make a .zip file
> release.

Still not in anon CVS.

I have another request/wish though. (I will try to implement it myself
if possible.)

After looking at other D projects, I see that compilation of one and
one file is uncommon. Instead all of the sourcefiles are sent to the
compiler at once (and in most cases linked). The reason is that this
is faster than the other way. The Digital Mars D compiler is so fast
that compiling all files at once seems to be faster than updating only 
changed files. (I believe this is true for the the DMC compiler too.)
Doing it this way also functions as a workaround for what I think
is a dependency bug in the compiler.
(Note that the speed difference is noticable, but not something that
I was aware of before looking at other projects. It is not bothering
me in any way.)

Compiling and building a dll would then be just a
dmd <switches, libs, includepaths, etc> -offoo.dll sources

I understand that this might defeat some of the purpose of aap as
it will remove the need for dependency checking (which isn't 
implemented for D, btw...), but having the choice of doing it this
or way or that, is what I actually want. Later D compilers and/or
versions for other platforms will most likely be much slower 
(for example gdc), and then the way it works today will be
indispensable again.

If this were to be done, how and where should the changes be?
Would it be possible to do it with routes, rules and actions?

I kinda thought of something like

:program {all-in-one-go} foo: foo1.d
                                             foo2.d
                                                ..
                                                ..
                                              foon.d 

Lars Ivar Igesund


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.