DMD 1.030 and 2.014 releases
davidl
davidl at 126.com
Sat May 17 05:13:05 PDT 2008
在 Sat, 17 May 2008 14:29:49 +0800,Walter Bright
<newshound1 at digitalmars.com> 写道:
> These contain a new way of building that I've wanted to do for a long
> time. dmd can now build libraries directly, without writing out object
> files or invoking the librarian. This accelerates library builds by a
> whopping factor of 3! Besides, it doesn't litter your directories with
> pointless object files.
>
> The library build option has another major coolness feature - before,
> one module compiles to one object file. With library build, one source
> file can compile to multiple object files. This cuts down on executable
> bloat from pulling in object files with irrelevant stuff in them.
>
> Another build improvement is when multiple modules are compiled at the
> same time to build an executable, only one object file is created with
> the generated code for all modules combined into it. This speeds
> linking, and also eliminates pointless file detritus.
>
> No, having dmd incorporate the linking is probably not going to happen
> :-(. Librarians are so simple, though, that this is a big win.
>
> Yes, both 1.0 and 2.0 dmd's get this (it doesn't affect the language).
>
> Another cool new feature is the dmd -man switch. Try it out! Lots of new
> library stuff, bugfixes, and Andrei has completely redone rdmd.
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.030.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.014.zip
Added -lib switch to generate library files. Also causes multiple object
files to be generated from one source module. <-- what does this exactly
mean
We need more docs on this.
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
More information about the Digitalmars-d-announce
mailing list