universityolz.blogg.se

Cygwin vs mingw
Cygwin vs mingw







The microsoft Visual C++ compiler is pretty good about Ansi standards, thus most code that compiles with Mingw compiles with microsofts compiler without many issues.Īs nothing man said, if you want a linux environment (GNU libc stuff) then you probably should just do a linux VM. MingW = lets keep unix out of windows as much as possible, us as much native windows stuff as possible.Ĭygwin is usually a little bit slower because it adds a couple of extra layers, where as mingw is generally pretty good about doing the bare minimum of stuff.Īs for the "bunch of Microsoft specific libraries of VCC.", you only use those libraries if you want to. Install whatever version of Cygwin you like for a bash shell on Windows, and have WinAVR installed.Cygwin = lets put unix on windows, use as much native unix stuff as possible MinGW does not suffer from this "DLL Hell" and since then everything has been golden. The wise descision to move to the Cygwin alternative MinGW (Minimal GNU for Windows) was made. As an example, this was the case with early versions of WinAVR (the Windows package of the AVR8 avr-gcc toolchain) and other popular ported apps that rested on Cygwin. If several such applications built with different incompatible versions of Cygwin1.dll is installed, then things will most likely break.

cygwin vs mingw

(One prime example is the shell that comes with Cygwin itself.) This is done through a Windows DLL (named Cygwin1.dll IIRC) that has to be distributed with the application. Just slightly aside, but pertaining to your "I've heard a lot of bad things.": Applications written for Linux/Unix systems can be ported to Windows using functionality delivered by Cygwin.

cygwin vs mingw

There is a definitive performance penalty (CPU load, memory footprint.). Running a GNU/Linux system under VMWare might be overkill for this. OTOH, if you just want to be able to isue (BA)SH-like commands on a command prompt, and have a Windows system then Cygwin is for you. Running a GNU/Linux system under VMWare actually runs the complete OS in that virtual machine, with a "proper" kernel. There is no Linux kernel running in Cygwin (AFAIK). Cygwin is a moniker of some parts of the functionality of Linux, running on top of Windows.









Cygwin vs mingw