www.digitalmars.com         C & C++   DMDScript  

D.gnu - version=GNU and DOS-format

reply Manfred Nowak <svv1999 hotmail.com> writes:
Why is the version of gdc under cygwin GNU and not linux?

Why is the version of gdc under cygwin not able to read files in the 
dos format? According to the specs *nix, DOS and MAC file formats are 
valid inputs for D.

-manfred
Apr 30 2005
next sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Manfred Nowak wrote:

 Why is the version of gdc under cygwin GNU and not linux?
version(GNU) is the "compiler vendor", just like version(DigitalMars) ? The "operating system" version should instead read: version(cygwin) These are both pretty lame, and version(Posix) would be much better... But that's not the way the versioning system is setup at the moment. --anders
May 04 2005
prev sibling parent David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
Manfred Nowak wrote:
 Why is the version of gdc under cygwin GNU and not linux?
 
 Why is the version of gdc under cygwin not able to read files in the 
 dos format? According to the specs *nix, DOS and MAC file formats are 
 valid inputs for D.
 
 -manfred
For Cygwin, these symbols are be defined: "GNU", "Unix", and "cygwin". "Unix" should be defined for all Unix-like systems. I'm not seeing any problems with CRLF format files. Can you send me (zipped/tar'd) sample? David
May 04 2005