Best Builder to Use

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Mar 12 12:41:17 PST 2010


On 03/12/2010 02:19 PM, eris wrote:
> Andrei,
>
> Here's the relevant output
>
> ---
> import    dendrite.process.model.IMailbox       (dendrite/process/model/IMailbox.d)
> import    dendrite.process.model.IBackplane     (dendrite/process/model/IBackplane.d)
> import    dendrite.process.MicroProcess (dendrite/process/MicroProcess.d)
> import    dendrite.component.Component  (dendrite/component/Component.d)
> import    dendrite.component.model.IComponent
> (dendrite/component/model/IComponent.d)
> import    dendrite.process.scheduler.model.IScheduler
> (dendrite/process/scheduler/model/IScheduler.d)
> import    dendrite.process.scheduler.RoundRobin
> (dendrite/process/scheduler/RoundRobin.d)
> import    dendrite.component.ComponentFactory
> (dendrite/component/ComponentFactory.d)
> import    dendrite.reactor.EvController (dendrite/reactor/EvController.d)
> import    tango.stdc.posix.termios      (/usr/include/d/tango/stdc/posix/termios.d)
> import    ev.d  (ev/d.d)
> import    ev.c  (ev/c.d)
> semantic  blane_demo
> import    dendrite.component.Minimal.all        (dendrite/component/Minimal/all.d)
> import    dendrite.component.Minimal.IntStreamer
> (dendrite/component/Minimal/IntStreamer.d)
> ---
>
> As you can see, soon after the ComponentFactory, dmd does a semantic pass and
> deduces that it needs to import/build the Minimal blueprints (at this time only
> IntStreamer).
>
> So it looks like dmd is prepared to build it.  When DSSS passed the objects to the
> gcc link stage the only thing it couldn't resolve was the IntStreamer component.
>
> eris

In that case I think you may want to give rdmd a shot. Run this:

rdmd --build-only your_root_module

If something doesn't work, it may be worth a bug report.


Andrei



More information about the Digitalmars-d mailing list