On 8/10/2013 4:21 PM, Jonathan M Davis wrote:
On Saturday, August 10, 2013 14:35:04 Nick Sabalausky wrote:
Is this something that would be acceptable, or does building DMD for
Windows need to stay as DM make?
I don't see any problem with it, but that doesn't mean that Walter won't.
Tools built for Unix never work right on Windows. It's why, for example, I run
git on Linux and don't use the Windows badly ported versions of git. Tiresome
problems revolve around failure to adapt to \ path separators, ; in PATH, CRLF
line endings, Windows SEH, case insensitive file names, no symbolic links, etc.,
no Perl installed, etc.
DMD and Phobos are fairly unusual in how well adapted they are to both Windows
and Linux.
Another suggestion that I kind of liked was to just build them all with a
single script written in D and ditch make entirely, which would seriously
reduce the amount of duplication across platforms. But that's obviously a much
bigger change and would likely be much more controversial than simply using a
more standard make.
I don't see much point in that. The dmd build is straightforward, and I see no
particular gain from reinventing that wheel.