Compiler: Size of generated executable file

grauzone none at example.net
Thu Jan 14 12:18:26 PST 2010


Steven Schveighoffer wrote:
> On Wed, 13 Jan 2010 06:28:33 -0500, Jacob Carlborg <doob at me.com> wrote:
> 
>> On 1/12/10 23:40, Walter Bright wrote:
>>> It's true that nobody has spent the effort to do this. Anyone is welcome
>>> to step up and work on it.
>>
>> Hasn't that already been solved with ddl: 
>> http://www.dsource.org/projects/ddl/
> 
> It's not solved until I can do something like:
> 
> dmd -sharedlib mylibfile.d

Then just make dmd support DDL directly.

> and have it output a shared object that I can link against.  Having to 
> do all the shared library stuff manually is not even close to a solution.
> 
> On top of that, phobos and druntime must be shared libs.
> 
> If the end result is that the D compiler emits the correct code to 
> interface with DDL, that is fine.  But it has to be built in.
> 
> -Steve



More information about the Digitalmars-d mailing list