cygwin

Starting off with OpenGL under Cygwin

Is it possible to compile and run OpenGL programs from under Cygwin? If yes, how? ...

Why does Vista complain about a dead process when I use Cygwin X11 ssh and how do I get it to shut up?

When I log into a remote machine using ssh X11 forwarding, Vista pops up a box complaining about a process that died unexpectedly. Once I dismiss the box, everything is fine. So I really don't care if some process died. How do I get Vista to shut up about it? Specifically, the message reads: sh.exe has stopped working So it's no...

How do I execute a file in Cygwin?

I created a C file in Eclipse on Windows and then used Cygwin to navigate to the directory. I called gcc on the C source file and a.exe was produced. How do I execute a.exe in the Cygwin shell? ...

Are there any resources for becoming a Cygwin "power user"?

I've got it configured, but I want more from it...maybe Cygwin isn't the right tool, but I like how it provides a *nix-like environment within Windows. ...

Objective C for Windows

What would be the best way to write Objective-C on the Windows platform? Cygwin and gcc? Is there a way I can somehow integrate this into Visual Studio? Along those lines - are there any suggestions as to how to link in and use the Windows SDK for something like this. Its a different beast but I know I can write assembly and link in th...

msys vs cygwin

I have at least one cygwin shell open all the time, when on windows machine. Any msys users out there? Why would anyone use msys over cygwin (except for building win executables)? ...

VS2008 Command Prompt + Cygwin

I use the VS2008 command prompt for builds, TFS access etc. and the cygwin prompt for grep, vi and unix-like tools. Is there any way I can 'import' the vcvars32.bat functionality into the cygwin environment so I can call "tfs checkout" from cygwin itself? ...

Tools for command line file parsing in cygwin.

I have to deal with text files in a motley selection of formats. Here's an example (Columns A and B are tab delimited): A B a Name1=Val1, Name2=Val2, Name3=Val3 b Name1=Val4, Name3=Val5 c Name1=Val6, Name2=Val7, Name3=Val8 The files could have headers or not, have mixed delimiting schemes, have columns with name/value pairs as above e...

Using Component Object Model (COM) on non-Microsoft platforms

I'm regularly running into similar situations : I have a bunch of COM .DLLs (no IDL files) which I need to use and invoke to be able to access some foreign (non-open, non-documented) data format. Microsoft's Visual Studio platform has very nice capabilities to import such COM DLLs and use them in my project (Visual C++'s #import directi...

Renaming/Mapping Cygwin Folders

Can I safely rename the cygdrive folder? Also, I would like to add other folders at root and map them to folders on windows in the same way as /cygdrive/c maps to my C drive. Is that possible? ...

How do I change the colors displayed in cygwin rxvt?

When I use "[\e[34m]sometext" i get sometext in blue, but can I specify the shade of blue somewhere? ...

Using `pkg-config` as command line argument under cygwin/msys bash

I'm trying to use cygwin as a build environment under Windows. I have some dependencies on 3rd party packages, for example, GTK+. Normally when I build under Linux, in my Makefile I can add a call to pkg-config as an argument to gcc, so it comes out like so: gcc example.c `pkg-config --libs --cflags gtk+-2.0` This works fine under...

How to optimize compiling a 32 bit application in Visual C++ 2005 on a 64 bit windows sever 2008

I have just installed a build server with a 64 bit windows server 2008 for continuous integration. The reason I choose a 64 bit server was to have more than ~3Gb of RAM. I had hopes that this machine would provide blazing fast builds. Unfortunately, the result are lacking greatly to say the least. My desktop provides faster builds tha...

How can I associate .sh files with Cygwin?

I'd like to run a long rsync command in Cygwin by double clicking on a .sh file in Windows. It must start in the file's containing directory (e.g. /cygdrive/c/scripts/) so that relative paths work. Anyone gotten this to work? Note: I've just found chere, a Cygwin package that manages Windows context menus (Bash Prompt Here). It might...

Rsync on Windows - Socket operation on non-socket

I get the following error when trying to run the latest Cygwin version of rsync in Windows XP SP2. The error occurs for attempts at both local syncs (that is: source and destination on the local harddisk only) and remote syncs (using "-e ssh" from the openssh package). Any advice on how to fix/workaround it? bash-3.2$ rsync -a dir1 dir...

Does the tee command always wait for EOF?

I'd like to log the output of a command to stdout as well as to a log file. I've got Cygwin installed and I'm trying to use the tee command to accomplish this. devenv mysolution.sln /build myproject "Release|Win32" | tee build.log Trouble is that tee seems to insist on waiting for the end of file before outputting anything to either s...

best ways to use cygwin

when i have to use MSwindows i always open a cygwin window so would like to know whats your favourite commands when using cygwin ? some of mine are : tail -c anylog //to wathc logs file continuously locate somefile //find file alias longCommand ='tail -c anylog |grep --color "term1\|term2\|term3"' cat *.txt //print all conte...

Connect to SQL Server from cygwin window times out, from DOS prompt works

The title says it all. I can connect to my SQL Server database via sqlcmd from a DOS command window, but not from a Cygwin window. From DOS: F:\Cygnus>sqlcmd -Q "select 'a test'" -S .\SQLEXPRESS a test (1 rows affected) F:\Cygnus> ==================================================== From Cygwin: $ sqlcmd -Q "select 'a...

Mount floppy image in cygwin

How can I mount a floppy image file using cygwin. I would like to mount the image, copy a file to the mounted drive, and then unmount it from the command line. I know you can use Virtual Floppy Drive in windows, but is there a way to do this in Cygwin? ...

Why does GCC-Windows depend on cygwin?

I'm not a C++ developer, but I've always been interested in compilers, and I'm interested in tinkering with some of the GCC stuff (particularly LLVM). On Windows, GCC requires a POSIX-emulation layer (cygwin or MinGW) to run correctly. Why is that? I use lots of other software, written in C++ and cross-compiled for different platforms...