On Sat, Mar 7, 2009 at 10:29 PM, Tony Mechelynck wrote: > On 08/03/09 03:49, Matt Wozniski wrote: >> On Sat, Mar 7, 2009 at 9:32 PM, Tony Mechelynck wrote: > [...] >>> The _option_ to compile native-Windows programs >>> using Cygwin gcc _is_ a useful thing, I can't imagine on what grounds >>> someone would think the opposite. >> I never said it wasn't useful, just that it has never worked properly >> and has no significant advantages over simply compiling with mingw. >> Compiling native windows programs with Debian's gcc would also be >> useful, but you're not likely to find a great deal of support for adding >> a -mno-debian switch to Debian's gcc for that purpose. > > I'm not asking that much. Debian usually doesn't run under Windows, > after all. Cygwin, OTOH, does, which makes it more obvious why it would > be useful to use it as a true Unix-like environment, with all the power > that that implies, to compile true Windows applications, even if it must > then be understood that such "true" Windows applications won't run in > the environment where they were compiled.
There's nothing stopping you from setting up your own cross toolchain, which is really what mingw is for, anyway. In fact, this is the more portable (and more unix-y) way to go - you can compile Windows programs on Debian or Cygwin using a cross-compile toolchain, without the need for a half-baked never-fully-implemented magical compiler switch. > I never used MinGW (except insofar as the -mno-cygwin compiler is a > MinGW-for-Cygwin compiler) but from what I heard when I still had > Windows it didn't sound as convincing as Cygwin. Huh? They do different things. Cygwin provides a POSIX emulation layer through cygwin1.dll, mingw provides mappings from POSIX concepts to Windows concepts to try to make it possible to cross-compile POSIX applications. What's there to be convinced about? Either one is the right tool for the job, or the other is. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
