D.gnu - version Windows on cygwin?
- Carlos Santander B. (7/7) Feb 14 2005 Ok, so building gdc on cygwin isn't really difficult: it's just a matter
- Nick Sabalausky (5/12) Feb 14 2005 I'm not sure. Cygwin is supposed to emulate Unix, and so a true emulatio...
- Nick Sabalausky (5/19) Feb 14 2005 I guess it depends on whether C/C++ programs under Cygwin can access the...
- Eric Hanchrow (8/9) Feb 14 2005 Nick> I guess it depends on whether C/C++ programs under Cygwin
- Georg Wrede (3/27) Mar 25 2005 This should actually be asked on some Cygwin forum! There probably is an...
- Andy Friesen (4/9) Feb 14 2005 Cygwin g++ does not define WIN32. MinGW g++ does.
- Manfred Nowak (5/6) Feb 14 2005 [...]
- Carlos Santander B. (5/19) Feb 15 2005 That sounds reasonable (even if I still think std.c.windows.windows
- David Friedman (3/17) Feb 15 2005 Does it make sense to set Windows/Win32 if the -mno-cygwin option is giv...
Ok, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled? _______________________ Carlos Santander Bernal
Feb 14 2005
"Carlos Santander B." <csantander619 gmail.com> wrote in message news:curuej$2jnn$1 digitaldaemon.com...Ok, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled? _______________________ Carlos Santander BernalI'm not sure. Cygwin is supposed to emulate Unix, and so a true emulation of Unix wouldn't have Windows, since a real Unix doesn't. But since it is in reality running under Windows, I guess that make it somewhat ambiguous.
Feb 14 2005
"Nick Sabalausky" <z a.a> wrote in message news:cus11m$2mpk$1 digitaldaemon.com..."Carlos Santander B." <csantander619 gmail.com> wrote in message news:curuej$2jnn$1 digitaldaemon.com...I guess it depends on whether C/C++ programs under Cygwin can access the Windows API. And I don't know enough about Cygwin to know if that can be done or not.Ok, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled? _______________________ Carlos Santander BernalI'm not sure. Cygwin is supposed to emulate Unix, and so a true emulation of Unix wouldn't have Windows, since a real Unix doesn't. But since it is in reality running under Windows, I guess that make it somewhat ambiguous.
Feb 14 2005
Nick> I guess it depends on whether C/C++ programs under Cygwin Nick> can access the Windows API. And I don't know enough about Nick> Cygwin to know if that can be done or not. They can, but typically don't. -- But users will not now with glad cries glom on to a language that gives them no more than what Scheme or Pascal gave them. -- Guy Steele, http://www.sun.com/research/jtech/pubs/98-oopsla-growing.ps"Nick" == Nick Sabalausky <z a.a> writes:
Feb 14 2005
Nick Sabalausky wrote:"Nick Sabalausky" <z a.a> wrote in message news:cus11m$2mpk$1 digitaldaemon.com...This should actually be asked on some Cygwin forum! There probably is an established way of doing this -- and we wouldn't want to break it."Carlos Santander B." <csantander619 gmail.com> wrote in message news:curuej$2jnn$1 digitaldaemon.com...I guess it depends on whether C/C++ programs under Cygwin can access the Windows API. And I don't know enough about Cygwin to know if that can be done or not.Ok, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled? _______________________ Carlos Santander BernalI'm not sure. Cygwin is supposed to emulate Unix, and so a true emulation of Unix wouldn't have Windows, since a real Unix doesn't. But since it is in reality running under Windows, I guess that make it somewhat ambiguous.
Mar 25 2005
Carlos Santander B. wrote:Ok, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled?Cygwin g++ does not define WIN32. MinGW g++ does. gdc should probably mirror this behaviour. -- andy
Feb 14 2005
Andy Friesen wrote: [...]Cygwin g++ does not define WIN32.[...] Isn't GNU defined? -manfred
Feb 14 2005
Andy Friesen wrote:Carlos Santander B. wrote:That sounds reasonable (even if I still think std.c.windows.windows should be available). _______________________ Carlos Santander BernalOk, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled?Cygwin g++ does not define WIN32. MinGW g++ does. gdc should probably mirror this behaviour. -- andy
Feb 15 2005
Andy Friesen wrote:Carlos Santander B. wrote:Does it make sense to set Windows/Win32 if the -mno-cygwin option is given? DavidOk, so building gdc on cygwin isn't really difficult: it's just a matter of having the paths right. But now that it's ready, I tried compiling a simple program and it caused an static assert(0) on std.c.windows.windows. Now, cygwin runs on top of Windows, so shouldn't version Windows be enabled?Cygwin g++ does not define WIN32. MinGW g++ does. gdc should probably mirror this behaviour. -- andy
Feb 15 2005