On 2009-07-24 03:51:50 -0400, Don <nos...@nospam.com> said:

Walter Bright wrote:
Jarrett Billingsley wrote:
This "D" programming language is great because it obviates make.


Ok, now about make's ability to switch compilers without having to edit config files?

I don't do it that way. I can't imagine when you would mix D1 and D2 in a single build. Instead, I have a set of trivial scripts to change the symlink for the 'dmd' directory. Nothing else needs to be aware of the compiler version. From then on, I just use bud.

I'll be pretty annoyed if the D2 compiler changes its name to DMD2.

My opinion is that the best way forward is to have dmd1, dmd2, and a symlink called dmd to one or the other. That way in a makefile you can explicitly request for one or the other if you want, but you don't have to: you can switch at will.


--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to