Importing D libraries

Jacob Carlborg doob at me.com
Thu Jul 28 04:23:12 PDT 2011


On 2011-07-28 09:17, Andrew Wiley wrote:
> In traditional terms, cc1d is a compiler, including both the frontend
> and the backend. It takes parameters and spits out assembly. That's it.
> The GDC executable is the driver responsible for running cc1d to compile
> the source to assembly, as to assemble the object files, and ld to link
> it all into a binary. cc1d cannot pass options to the linker because it
> does not invoke the linker.

Ok, I see. But it doesn't sound that hard to have cc1d pass pragma 
values back to the gdc executable. Anyway, thanks for the explanation.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list