How does D’s ‘import’ work?

Cecil Ward cecil at cecilward.com
Sun Jun 18 20:24:10 UTC 2023


On Thursday, 8 June 2023 at 05:11:04 UTC, Ali Çehreli wrote:
> On 6/7/23 21:17, Cecil Ward wrote:
>
> > I was thinking about the situation in C where I have a rule
> in a make
> > file that lists the .h files as well as the .c all as
> dependencies in
> > creating an object file.
>
> dmd's -makedeps command line switch should be helpful there. (I 
> did not use it.)
>
> Ali

I wasn’t intending to use DMD, rather ldc if possible or GDC 
because of their excellent optimisation, in which DMD seems 
lacking, is that fair? (Have only briefly looked at dmd+x86 and 
haven’t given DMD’s back end a fair trial.)


More information about the Digitalmars-d-learn mailing list