On 17.04.2012 23:27, Joseph Rushton Wakeling wrote:
On 17/04/12 20:29, Dmitry Olshansky wrote:
First things first - development of phobos is done with dmd. Just
because gdc is
(logically so) somewhat behind dmd and new compiler features are still
coming
with every release.

Fair enough. I've followed the instructions here:
https://xtzgzorex.wordpress.com/2011/07/31/d-building-dmd-and-phobos-on-linux/


I suggest to just modify phobos sources directly. It's DVCS after all
so you
always have a luxury of commit/revert.

I want to do some side-by-side tests of current and new, so it makes
sense to just have a myrandom.d.

and rdmd --main -unittest /path/to/std/random.d
works wonders in development cycle.

Oddly enough building rdmd with my newly-build dmd results in error:

Just feed it -d switch ;)
Still somebody has to step up and upgrade rdmd to use the new way of Phobos.


--
Dmitry Olshansky

Reply via email to