banner
Dave Horner's Website - Yet another perspective on things...
Home Tech Talk Windows OS Windows and Cygwin/MinGW/coLinux - dump some GPL in your WIN32
If you appreciate the information found on this website, please drop me a line!

Who's Online

We have 21 guests online
Content View Hits : 1428235
moon and stars
How did you find my site?
 
How often do you answer random online questions?
 

Random Quote

The man who grasps principles can successfully choose his own methods. The man who tries methods, ignoring principles, is sure to have trouble. —Ralph Waldo Emerson

Windows and Cygwin/MinGW/coLinux - dump some GPL in your WIN32

Monday, 23 October 2006 15:13

Cygwin

Cygwin is a unix/linux envirnoment for the windows platform. Basically, you can install and manage code that is cross platform compiled using your autoconf, perl, python, X11, etc.

I am still learning how to properly use cygwin to build projects. I would like to start using cygwin for all my building needs.

My hope is that I can use the nmake and msbuild tools to maintain binary comp. between the cygwin and VS2005 ide builds.

Cygwin has always been a black magic of the unix zeolot. It isn't that hard to learn, but I really need to make some sort of standard install package that setups my enviroment and allows for building to happen quickly from a bare install.

Windows and Cygwin tweaks
The except from How to build the code for Thinking in Patterns with Java by Bruce Eckel has a walk through on how to setup some things in Cygwin.

Cygwin is great, once you've got it all setup and things are working great. It can be a lot of work to get it all going. I found this env. fetcher, which pulls all the packages needed to build pidgin. I'd like to see more of this sort of thing for other projects.
SimGuy's Pidgin Stuff - Windows Pidgin Build Environment Fetcher
Win32CompileCygwin - VideoLAN Wiki - building VideoLAN in cygwin.
puttycyg - Use PuTTY as a local Cygwin terminal.
Sofeng's Blog: Cygwin, X, ratposoin, screen, rxvt setup

Make and configure sometimes do very strange things when presented a DOS formatted file. Make will not build properly and configure will give this wonderfully cryptic message:
./configure: line 9: $'\r': command not found
To fix it, just run dos2unix * and ensure that proper formatting is enforced.


Cygwin X11

Cygwin includes an x windows server called xorg-server. Remember to use xhost to allow remote hosts access to the x server. To allow a single remote host, do "xhost +your.ip.add.res". Or allow all remote hosts by performing an "xhost +".


MinGW

MinGW Starter Guide
MinGW - Home
Installing MinGW, compiling Perl and vim
Dev-C++
A Moron's Guide to Creating and Using Your Own Cygwin or Mingw DLL's when Compiling Cygwin or Mingw Programs
MinGW - nuwen.net
MinGW: pexports for Windows DLLs | For Bharat
Compiling mspdebug for Windows using MinGW | For Bharat
Thoughts on C++: Building Qt5 with MinGW lots of other mingw info on Thoughts on C++


msysgit, very cool Google code project. If you use: GitMe it will automagically build a developer environment for git with MinGW!


coLinux

coLinux lets you run Linux natively within windows. This is full blown linux on the windows machine...not a compatible/striped down environment like cygwin/mingw.
Virtualization with coLinux
Portable Ubuntu for Windows - uses coLinux internally, but looks to be very easy to setup....


Wine - run windows apps in linux

WineHQ - Run Windows applications on Linux, BSD, Solaris and Mac OS X - Wine enables Linux, Mac, FreeBSD, and Solaris users to run Windows applications without a copy of Microsoft Windows.
Downloads | Wine-Doors - Wine-doors is an application designed to make installing windows software on Linux, Solaris or other Unix systems easier. Wine-doors is essentially a package management tool for windows software on Linux systems.
Last Updated on Sunday, 02 June 2013 15:41