Building the compiler in 2 seconds with `dmd -i`

max haughton maxhaton at gmail.com
Fri May 19 21:31:12 UTC 2023


On Friday, 19 May 2023 at 20:30:12 UTC, Dennis wrote:
> On Friday, 19 May 2023 at 09:51:39 UTC, Dennis wrote:
>> Eventually I hope to make just `dmd -i dmd/mars.d` work, I'll 
>> see how close I can get to that.
>
> It's now down to this!
> ```
> dmd -i dmd/mars.d -of=../../dmd dmd/eh.d -Jdmd/res -J../..
> ```

> eh.d

Ah yes, dmd's stupid tree structure comes back to haunt...

Practically its probably going to be built from a higher 
directory than src/ so -I may have to be present.


More information about the Digitalmars-d mailing list