March 15, 2005 Re: version=Windows / version=linux illegal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Georg Wrede | Georg Wrede wrote: > Seems I remembered there was an inconsistency, but not what. > > :-) (Could it be that Walter is a Windows person?) :-) No, it's some kind of legacy from some old C compiler... I think the current platform "version"s are a bit limited anyway, since they focus on the running operating system. (so for DMD, that is either "Windows" or "linux" <sic> - and for GDC it's : linux/cygwin/freebsd/darwin/solaris) Probably would better to target APIs, like Win32 and Posix ? That would also mean that you could cross-compile to a different target, by using for instance the Wine libraries (or something) ? (http://www.winehq.com/ has most of the Win32 libs, for Unix) But that's a greater change than just changing the spelling from Windows to windows, for "consistency" over platforms... See also http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/Version (for some reason the non-DMD version take ages to appear in the spec) --anders |
Copyright © 1999-2021 by the D Language Foundation