On 11 October 2012 18:49, David Nadlinger <s...@klickverbot.at> wrote: > On Thursday, 11 October 2012 at 16:01:09 UTC, Iain Buclaw wrote: >> >> On 11 October 2012 16:29, David Nadlinger <s...@klickverbot.at> wrote: >>> >>> On Thursday, 11 October 2012 at 15:18:07 UTC, Iain Buclaw wrote: >>>> >>>> >>>> Does LDC only build one executable? >>> >>> […] >> >> >> Not what the LDC compiler does, the actual /usr/bin/ldc executable >> itself. Is it in one pieces, or in pieces? eg: GDC is in two >> pieces, gdc and cc1d. > > > Ah, now I see what you mean. Yes, LDC consists of only one executable. > > David
So the object that interprets pragma(lib) is able to communicate with the object that handles what flags to pass to the linker. :-) This is not possible with gdc, as the driver that handles the calling of ld (gdc) does not / cannot communicate with the compiler component (cc1d). Regards, -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';